pub struct Caller {
pub user_id: i64,
pub mxid: String,
pub device_id: String,
pub claims: Claims,
}Fields§
§user_id: i64§mxid: String§device_id: String§claims: ClaimsWhat the policy hook may know (local for device-bearer callers).
Auto Trait Implementations§
impl Freeze for Caller
impl RefUnwindSafe for Caller
impl Send for Caller
impl Sync for Caller
impl Unpin for Caller
impl UnsafeUnpin for Caller
impl UnwindSafe for Caller
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more