pub struct DelegationCredential {Show 13 fields
pub id: String,
pub protocol: String,
pub principal: PrincipalDescriptor,
pub controller: AgentId,
pub subject: AgentId,
pub relationship: Option<String>,
pub scopes: Vec<String>,
pub constraints: BTreeMap<String, Value>,
pub not_before: Option<i64>,
pub expires_at: Option<i64>,
pub status: DelegationStatus,
pub updated_at: i64,
pub event_id: String,
}Fields§
§id: String§protocol: String§principal: PrincipalDescriptor§controller: AgentId§subject: AgentId§relationship: Option<String>§scopes: Vec<String>§constraints: BTreeMap<String, Value>§not_before: Option<i64>§expires_at: Option<i64>§status: DelegationStatus§updated_at: i64§event_id: StringTrait Implementations§
Source§impl Clone for DelegationCredential
impl Clone for DelegationCredential
Source§fn clone(&self) -> DelegationCredential
fn clone(&self) -> DelegationCredential
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 DelegationCredential
impl Debug for DelegationCredential
Source§impl<'de> Deserialize<'de> for DelegationCredential
impl<'de> Deserialize<'de> for DelegationCredential
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 DelegationCredential
impl PartialEq for DelegationCredential
Source§impl Serialize for DelegationCredential
impl Serialize for DelegationCredential
impl StructuralPartialEq for DelegationCredential
Auto Trait Implementations§
impl Freeze for DelegationCredential
impl RefUnwindSafe for DelegationCredential
impl Send for DelegationCredential
impl Sync for DelegationCredential
impl Unpin for DelegationCredential
impl UnsafeUnpin for DelegationCredential
impl UnwindSafe for DelegationCredential
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