Lines Matching full:user_id
26 user_id: i32, field
38 pub fn new_part_info(user_id: i32) -> Self { in new_part_info()
39 Self::new(user_id, OwnerType::Native, "asset_service_8100".as_bytes().to_vec()) in new_part_info()
43 pub fn new(user_id: i32, owner_type: OwnerType, owner_info: Vec<u8>) -> Self { in new()
44 Self { user_id, owner_type, owner_info } in new()
62 let mut user_id = process_info.user_id; in build() localVariable
64 user_id = specific_user_id; in build()
67 CallingInfo { user_id: user_id as i32, owner_type: process_info.owner_type, owner_info } in build()
86 pub fn user_id(&self) -> i32 { in user_id() method
87 self.user_id in user_id()
116 user_id: 0, in test_build_callig_info_specific_and_hap()
123 assert_eq!(calling_info.user_id(), specific_user_id as i32); in test_build_callig_info_specific_and_hap()
134 let user_id = 0; in test_build_callig_info_hap() localVariable
136 user_id, in test_build_callig_info_hap()
143 assert_eq!(calling_info.user_id(), user_id as i32); in test_build_callig_info_hap()
151 let user_id = 0; in test_build_callig_info_native() localVariable
154 user_id, in test_build_callig_info_native()
161 assert_eq!(calling_info.user_id(), user_id as i32); in test_build_callig_info_native()
170 let user_id = 0; in test_build_callig_info_specific_and_native() localVariable
173 user_id, in test_build_callig_info_specific_and_native()
181 assert_eq!(calling_info.user_id(), specific_user_id as i32); in test_build_callig_info_specific_and_native()