pub struct PrincipalDocument {Show 13 fields
pub id: String,
pub kind: Option<String>,
pub name: Option<String>,
pub description: Option<String>,
pub avatar_url: Option<String>,
pub aliases: Vec<String>,
pub links: Vec<PrincipalLink>,
pub protocol: String,
pub controllers: Vec<Controller>,
pub retired_controllers: Vec<Controller>,
pub delegation_query_url: Option<String>,
pub updated_at: i64,
pub extra: BTreeMap<String, Value>,
}Fields§
§id: String§kind: Option<String>§name: Option<String>§description: Option<String>§avatar_url: Option<String>§aliases: Vec<String>Other HTTPS URLs that lead to this principal. Aliases are not identities.
links: Vec<PrincipalLink>§protocol: String§controllers: Vec<Controller>§retired_controllers: Vec<Controller>§delegation_query_url: Option<String>Delegation query endpoint; required when any controller carries delegation.
updated_at: i64§extra: BTreeMap<String, Value>Trait Implementations§
Source§impl Clone for PrincipalDocument
impl Clone for PrincipalDocument
Source§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§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