pub struct SnapshotCapabilityGrant {
pub actor_id: ActorId,
pub capability: Capability,
pub tenant_id: TenantId,
pub granted_at: u64,
pub revoked_at: Option<u64>,
}Expand description
Snapshot representation of a capability grant.
Fields§
§actor_id: ActorId§capability: Capability§tenant_id: TenantId§granted_at: u64§revoked_at: Option<u64>Trait Implementations§
Source§impl Clone for SnapshotCapabilityGrant
impl Clone for SnapshotCapabilityGrant
Source§fn clone(&self) -> SnapshotCapabilityGrant
fn clone(&self) -> SnapshotCapabilityGrant
Returns a duplicate of the value. Read more
1.0.0 · 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 SnapshotCapabilityGrant
impl Debug for SnapshotCapabilityGrant
Source§impl<'de> Deserialize<'de> for SnapshotCapabilityGrant
impl<'de> Deserialize<'de> for SnapshotCapabilityGrant
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 SnapshotCapabilityGrant
impl PartialEq for SnapshotCapabilityGrant
Source§impl Serialize for SnapshotCapabilityGrant
impl Serialize for SnapshotCapabilityGrant
impl Eq for SnapshotCapabilityGrant
impl StructuralPartialEq for SnapshotCapabilityGrant
Auto Trait Implementations§
impl Freeze for SnapshotCapabilityGrant
impl RefUnwindSafe for SnapshotCapabilityGrant
impl Send for SnapshotCapabilityGrant
impl Sync for SnapshotCapabilityGrant
impl Unpin for SnapshotCapabilityGrant
impl UnsafeUnpin for SnapshotCapabilityGrant
impl UnwindSafe for SnapshotCapabilityGrant
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