Lines Matching full:user_id
26 user_id: i32, field
38 pub fn new(user_id: i32, owner_type: OwnerType, owner_info: Vec<u8>) -> Self { in new()
39 Self { user_id, owner_type, owner_info } in new()
57 let mut user_id = process_info.user_id; in build() localVariable
59 user_id = specific_user_id; in build()
62 CallingInfo { user_id: user_id as i32, owner_type: process_info.owner_type, owner_info } in build()
76 pub fn user_id(&self) -> i32 { in user_id() method
77 self.user_id in user_id()
91 user_id: 0, in test_build_callig_info_specific_and_hap()
98 assert_eq!(calling_info.user_id(), specific_user_id as i32); in test_build_callig_info_specific_and_hap()
109 let user_id = 0; in test_build_callig_info_hap() localVariable
111 user_id, in test_build_callig_info_hap()
118 assert_eq!(calling_info.user_id(), user_id as i32); in test_build_callig_info_hap()
126 let user_id = 0; in test_build_callig_info_native() localVariable
129 user_id, in test_build_callig_info_native()
136 assert_eq!(calling_info.user_id(), user_id as i32); in test_build_callig_info_native()
145 let user_id = 0; in test_build_callig_info_specific_and_native() localVariable
148 user_id, in test_build_callig_info_specific_and_native()
156 assert_eq!(calling_info.user_id(), specific_user_id as i32); in test_build_callig_info_specific_and_native()