pub enum GrantJournalEntry {
Issued {
approval_record_id: RecordId,
grant: PolicyGrant,
},
Revoked {
grant: PolicyGrant,
},
}Expand description
Append-only authorization-grant journal fact.
Variants§
Issued
A matching approval resolution issued the grant.
Fields
§
grant: PolicyGrantImmutable issued grant.
Revoked
A previously issued grant became immutably revoked.
Fields
§
grant: PolicyGrantImmutable revoked form retaining the original grant identity.
Implementations§
Trait Implementations§
Source§impl Clone for GrantJournalEntry
impl Clone for GrantJournalEntry
Source§fn clone(&self) -> GrantJournalEntry
fn clone(&self) -> GrantJournalEntry
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 GrantJournalEntry
impl Debug for GrantJournalEntry
Source§impl<'de> Deserialize<'de> for GrantJournalEntry
impl<'de> Deserialize<'de> for GrantJournalEntry
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 GrantJournalEntry
impl PartialEq for GrantJournalEntry
Source§impl Serialize for GrantJournalEntry
impl Serialize for GrantJournalEntry
impl StructuralPartialEq for GrantJournalEntry
Auto Trait Implementations§
impl Freeze for GrantJournalEntry
impl RefUnwindSafe for GrantJournalEntry
impl Send for GrantJournalEntry
impl Sync for GrantJournalEntry
impl Unpin for GrantJournalEntry
impl UnsafeUnpin for GrantJournalEntry
impl UnwindSafe for GrantJournalEntry
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