pub struct LinkedMandate {
pub ap2_intent_mandate_uri: Option<String>,
pub ap2_signed_payload_b64: Option<String>,
pub vault_mutation: Option<VaultMutationMandate>,
}Expand description
Cross-protocol links carried alongside the send authorization.
Fields§
§ap2_intent_mandate_uri: Option<String>URI of an AP2 IntentMandate cross-linking payment authorization.
ap2_signed_payload_b64: Option<String>Optional base64-encoded AP2 SignedPayload for self-contained
verification when the verifier cannot dereference
ap2_intent_mandate_uri. #[serde(default)] preserves wire
back-compat for envelopes written before this field was added.
vault_mutation: Option<VaultMutationMandate>Optional cross-vault mutation mandate for LinkedMandates issued by a
cross-vault federation engine.
#[serde(default, skip_serializing_if = "...")] preserves
wire back-compat (legacy envelopes omit the field).
Trait Implementations§
Source§impl Clone for LinkedMandate
impl Clone for LinkedMandate
Source§impl Debug for LinkedMandate
impl Debug for LinkedMandate
Source§impl<'de> Deserialize<'de> for LinkedMandate
impl<'de> Deserialize<'de> for LinkedMandate
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 LinkedMandate
Source§impl PartialEq for LinkedMandate
impl PartialEq for LinkedMandate
Source§impl Serialize for LinkedMandate
impl Serialize for LinkedMandate
impl StructuralPartialEq for LinkedMandate
Auto Trait Implementations§
impl Freeze for LinkedMandate
impl RefUnwindSafe for LinkedMandate
impl Send for LinkedMandate
impl Sync for LinkedMandate
impl Unpin for LinkedMandate
impl UnsafeUnpin for LinkedMandate
impl UnwindSafe for LinkedMandate
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