pub struct VaultMutationMandate {
pub kind: VaultMutationKind,
pub grant_scope_id: GrantId,
pub ap2_signed_payload_b64: Option<String>,
}Expand description
Body of the LinkedMandate.vault_mutation field on the APH
NotarizationEnvelope.
Fields§
§kind: VaultMutationKindWhich mutation is being authorized.
grant_scope_id: GrantIdGrant scope the mutation executes under.
ap2_signed_payload_b64: Option<String>Base64 AP2-signed payload, present only for commerce-impacting mutations. Omitted entirely when absent so the canonical bytes of mandates without it are unchanged.
Trait Implementations§
Source§impl Clone for VaultMutationMandate
impl Clone for VaultMutationMandate
Source§impl Debug for VaultMutationMandate
impl Debug for VaultMutationMandate
Source§impl<'de> Deserialize<'de> for VaultMutationMandate
impl<'de> Deserialize<'de> for VaultMutationMandate
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
impl Eq for VaultMutationMandate
Source§impl PartialEq for VaultMutationMandate
impl PartialEq for VaultMutationMandate
Source§impl Serialize for VaultMutationMandate
impl Serialize for VaultMutationMandate
impl StructuralPartialEq for VaultMutationMandate
Auto Trait Implementations§
impl Freeze for VaultMutationMandate
impl RefUnwindSafe for VaultMutationMandate
impl Send for VaultMutationMandate
impl Sync for VaultMutationMandate
impl Unpin for VaultMutationMandate
impl UnsafeUnpin for VaultMutationMandate
impl UnwindSafe for VaultMutationMandate
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