pub struct Revert {
pub transaction_id: String,
pub settlement_address: String,
pub reason: String,
pub note: Option<String>,
}Expand description
Revert message body (TAIP-4).
Fields§
§transaction_id: StringID of the transfer being reverted.
settlement_address: StringSettlement address in CAIP-10 format to return the funds to.
reason: StringReason for the reversal request.
note: Option<String>Optional note.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Revert
impl<'de> Deserialize<'de> for Revert
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 Revert
impl RefUnwindSafe for Revert
impl Send for Revert
impl Sync for Revert
impl Unpin for Revert
impl UnwindSafe for Revert
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