Lines Matching refs:user_id
26 user_id: i32,
38 pub fn new_part_info(user_id: i32) -> Self {
39 Self::new(user_id, OwnerType::Native, "asset_service_8100".as_bytes().to_vec())
43 pub fn new(user_id: i32, owner_type: OwnerType, owner_info: Vec<u8>) -> Self {
44 Self { user_id, owner_type, owner_info }
62 let mut user_id = process_info.user_id;
64 user_id = specific_user_id;
67 CallingInfo { user_id: user_id as i32, owner_type: process_info.owner_type, owner_info }
86 pub fn user_id(&self) -> i32 {
87 self.user_id
101 user_id: 0,
108 assert_eq!(calling_info.user_id(), specific_user_id as i32);
119 let user_id = 0;
121 user_id,
128 assert_eq!(calling_info.user_id(), user_id as i32);
136 let user_id = 0;
139 user_id,
146 assert_eq!(calling_info.user_id(), user_id as i32);
155 let user_id = 0;
158 user_id,
166 assert_eq!(calling_info.user_id(), specific_user_id as i32);