pub struct EscrowMetadata {
pub params: EscrowParams,
pub state: ExecutionState,
pub escrow_id: Option<u64>,
}Expand description
Metadata returned from on-chain escrow creation.
Fields§
§params: EscrowParamsThe parameters that were specified during escrow creation.
state: ExecutionStateState of escrow execution in the client.
escrow_id: Option<u64>Unique identifier for the created escrow.
Trait Implementations§
Source§impl<'__de, __Context> BorrowDecode<'__de, __Context> for EscrowMetadata
impl<'__de, __Context> BorrowDecode<'__de, __Context> for EscrowMetadata
Source§fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>(
decoder: &mut __D,
) -> Result<Self, DecodeError>
fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>( decoder: &mut __D, ) -> Result<Self, DecodeError>
Attempt to decode this type with the given BorrowDecode.
Source§impl Clone for EscrowMetadata
impl Clone for EscrowMetadata
Source§fn clone(&self) -> EscrowMetadata
fn clone(&self) -> EscrowMetadata
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 EscrowMetadata
impl Debug for EscrowMetadata
Source§impl<__Context> Decode<__Context> for EscrowMetadata
impl<__Context> Decode<__Context> for EscrowMetadata
Auto Trait Implementations§
impl Freeze for EscrowMetadata
impl RefUnwindSafe for EscrowMetadata
impl Send for EscrowMetadata
impl Sync for EscrowMetadata
impl Unpin for EscrowMetadata
impl UnwindSafe for EscrowMetadata
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