pub struct DelegationLink {
pub from: Principal,
pub to: Principal,
pub scope: AuthScope,
pub granted_at: DateTime<Utc>,
pub expires: Option<DateTime<Utc>>,
}Expand description
A single hop in a delegation chain.
Fields§
§from: PrincipalDelegating principal.
to: PrincipalReceiving principal.
scope: AuthScopeWhat was delegated.
granted_at: DateTime<Utc>When the delegation was granted.
expires: Option<DateTime<Utc>>When the delegation expires.
Trait Implementations§
Source§impl Clone for DelegationLink
impl Clone for DelegationLink
Source§impl Debug for DelegationLink
impl Debug for DelegationLink
Source§impl<'de> Deserialize<'de> for DelegationLink
impl<'de> Deserialize<'de> for DelegationLink
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 DelegationLink
impl PartialEq for DelegationLink
Source§impl Serialize for DelegationLink
impl Serialize for DelegationLink
impl StructuralPartialEq for DelegationLink
Auto Trait Implementations§
impl Freeze for DelegationLink
impl RefUnwindSafe for DelegationLink
impl Send for DelegationLink
impl Sync for DelegationLink
impl Unpin for DelegationLink
impl UnsafeUnpin for DelegationLink
impl UnwindSafe for DelegationLink
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