pub struct PrincipalDocument {
pub id: String,
pub kind: Option<String>,
pub name: Option<String>,
pub description: Option<String>,
pub avatar_url: Option<String>,
pub links: Vec<PrincipalLink>,
pub controllers: Vec<AgentId>,
pub delegations_url: Option<String>,
pub updated_at: Option<i64>,
pub extra: BTreeMap<String, Value>,
}Fields§
§id: String§kind: Option<String>§name: Option<String>§description: Option<String>§avatar_url: Option<String>§links: Vec<PrincipalLink>§controllers: Vec<AgentId>§delegations_url: Option<String>§updated_at: Option<i64>§extra: BTreeMap<String, Value>Trait Implementations§
Source§impl Clone for PrincipalDocument
impl Clone for PrincipalDocument
Source§fn clone(&self) -> PrincipalDocument
fn clone(&self) -> PrincipalDocument
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 PrincipalDocument
impl Debug for PrincipalDocument
Source§impl<'de> Deserialize<'de> for PrincipalDocument
impl<'de> Deserialize<'de> for PrincipalDocument
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
Source§impl PartialEq for PrincipalDocument
impl PartialEq for PrincipalDocument
Source§fn eq(&self, other: &PrincipalDocument) -> bool
fn eq(&self, other: &PrincipalDocument) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PrincipalDocument
impl Serialize for PrincipalDocument
impl StructuralPartialEq for PrincipalDocument
Auto Trait Implementations§
impl Freeze for PrincipalDocument
impl RefUnwindSafe for PrincipalDocument
impl Send for PrincipalDocument
impl Sync for PrincipalDocument
impl Unpin for PrincipalDocument
impl UnsafeUnpin for PrincipalDocument
impl UnwindSafe for PrincipalDocument
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