pub struct PrincipalRef {
pub kind: PrincipalKind,
pub id: String,
}Fields§
§kind: PrincipalKind§id: StringImplementations§
Trait Implementations§
Source§impl Clone for PrincipalRef
impl Clone for PrincipalRef
Source§fn clone(&self) -> PrincipalRef
fn clone(&self) -> PrincipalRef
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 moreSource§impl Debug for PrincipalRef
impl Debug for PrincipalRef
Source§impl<'de> Deserialize<'de> for PrincipalRef
impl<'de> Deserialize<'de> for PrincipalRef
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 PrincipalRef
Source§impl Hash for PrincipalRef
impl Hash for PrincipalRef
Source§impl PartialEq for PrincipalRef
impl PartialEq for PrincipalRef
Source§impl Serialize for PrincipalRef
impl Serialize for PrincipalRef
impl StructuralPartialEq for PrincipalRef
Auto Trait Implementations§
impl Freeze for PrincipalRef
impl RefUnwindSafe for PrincipalRef
impl Send for PrincipalRef
impl Sync for PrincipalRef
impl Unpin for PrincipalRef
impl UnsafeUnpin for PrincipalRef
impl UnwindSafe for PrincipalRef
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