pub struct ScopePrincipal {
pub tenant_id: TenantId,
pub actor_id: ActorId,
pub device_id: DeviceId,
}Expand description
Trusted authenticated identity supplied to a scope resolver by the server boundary.
Fields§
§tenant_id: TenantId§actor_id: ActorId§device_id: DeviceIdTrait Implementations§
Source§impl Clone for ScopePrincipal
impl Clone for ScopePrincipal
Source§fn clone(&self) -> ScopePrincipal
fn clone(&self) -> ScopePrincipal
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ScopePrincipal
Source§impl Debug for ScopePrincipal
impl Debug for ScopePrincipal
Source§impl<'de> Deserialize<'de> for ScopePrincipal
impl<'de> Deserialize<'de> for ScopePrincipal
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ScopePrincipal
Source§impl PartialEq for ScopePrincipal
impl PartialEq for ScopePrincipal
Source§impl Serialize for ScopePrincipal
impl Serialize for ScopePrincipal
impl StructuralPartialEq for ScopePrincipal
Auto Trait Implementations§
impl Freeze for ScopePrincipal
impl RefUnwindSafe for ScopePrincipal
impl Send for ScopePrincipal
impl Sync for ScopePrincipal
impl Unpin for ScopePrincipal
impl UnsafeUnpin for ScopePrincipal
impl UnwindSafe for ScopePrincipal
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