pub struct ApprovalRevocation {
pub type_: String,
pub revocation_id: String,
pub grant_id: String,
pub grant_digest: String,
pub revoker: String,
pub reason: Option<String>,
pub created_at: String,
pub previous_record_digest: String,
pub record_digest: String,
pub signature: Option<String>,
pub signature_alg: Option<String>,
pub signing_key_id: Option<String>,
}Expand description
Records that an approver revoked a previously-signed grant. Replayed from the journal, this short-circuits any subsequent consume attempt against the revoked grant – “wrong actor / action / subject” fails in scope, “grant revoked” fails in journal lookup.
Schema sibling of ApprovalUse so revocations live in the same append-only chain and inherit the same digest discipline.
Fields§
§type_: String§revocation_id: String§grant_id: String§grant_digest: String§revoker: String§reason: Option<String>§created_at: String§previous_record_digest: String§record_digest: String§signature: Option<String>§signature_alg: Option<String>§signing_key_id: Option<String>Trait Implementations§
Source§impl Clone for ApprovalRevocation
impl Clone for ApprovalRevocation
Source§fn clone(&self) -> ApprovalRevocation
fn clone(&self) -> ApprovalRevocation
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 ApprovalRevocation
impl Debug for ApprovalRevocation
Source§impl<'de> Deserialize<'de> for ApprovalRevocation
impl<'de> Deserialize<'de> for ApprovalRevocation
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
Auto Trait Implementations§
impl Freeze for ApprovalRevocation
impl RefUnwindSafe for ApprovalRevocation
impl Send for ApprovalRevocation
impl Sync for ApprovalRevocation
impl Unpin for ApprovalRevocation
impl UnsafeUnpin for ApprovalRevocation
impl UnwindSafe for ApprovalRevocation
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