pub struct DelegationCredential {Show 16 fields
pub id: String,
pub protocol: String,
pub principal_id: String,
pub subject: AgentId,
pub relationship: Option<String>,
pub scopes: Vec<String>,
pub audiences: Vec<String>,
pub constraints: Option<BTreeMap<String, Value>>,
pub not_before: Option<i64>,
pub expires_at: Option<i64>,
pub status: DelegationStatus,
pub controller: AgentId,
pub grant_event_id: String,
pub event_id: String,
pub accepted_at: i64,
pub checked_at: i64,
}Fields§
§id: String§protocol: String§principal_id: String§subject: AgentId§relationship: Option<String>§scopes: Vec<String>§audiences: Vec<String>§constraints: Option<BTreeMap<String, Value>>§not_before: Option<i64>§expires_at: Option<i64>§status: DelegationStatus§controller: AgentId§grant_event_id: String§event_id: String§accepted_at: i64§checked_at: i64Trait Implementations§
Source§impl Clone for DelegationCredential
impl Clone for DelegationCredential
Source§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