pub struct DestinationTransferPeerPath {
pub type: TransferPeerPathType,
pub sub_type: Option<TransferPeerPathSubType>,
pub id: Option<String>,
pub name: Option<String>,
pub wallet_id: Option<Uuid>,
pub one_time_address: Option<OneTimeAddress>,
pub is_collateral: Option<bool>,
}Expand description
DestinationTransferPeerPath : The destination of the transaction.
Fields§
§type: TransferPeerPathType§sub_type: Option<TransferPeerPathSubType>§id: Option<String>§name: Option<String>§wallet_id: Option<Uuid>§one_time_address: Option<OneTimeAddress>§is_collateral: Option<bool>Indicates whether the destination is a collateral account
Implementations§
Source§impl DestinationTransferPeerPath
impl DestinationTransferPeerPath
Sourcepub fn new(type: TransferPeerPathType) -> DestinationTransferPeerPath
pub fn new(type: TransferPeerPathType) -> DestinationTransferPeerPath
The destination of the transaction.
Trait Implementations§
Source§impl Clone for DestinationTransferPeerPath
impl Clone for DestinationTransferPeerPath
Source§fn clone(&self) -> DestinationTransferPeerPath
fn clone(&self) -> DestinationTransferPeerPath
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 DestinationTransferPeerPath
impl Debug for DestinationTransferPeerPath
Source§impl Default for DestinationTransferPeerPath
impl Default for DestinationTransferPeerPath
Source§fn default() -> DestinationTransferPeerPath
fn default() -> DestinationTransferPeerPath
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DestinationTransferPeerPath
impl<'de> Deserialize<'de> for DestinationTransferPeerPath
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 StructuralPartialEq for DestinationTransferPeerPath
Auto Trait Implementations§
impl Freeze for DestinationTransferPeerPath
impl RefUnwindSafe for DestinationTransferPeerPath
impl Send for DestinationTransferPeerPath
impl Sync for DestinationTransferPeerPath
impl Unpin for DestinationTransferPeerPath
impl UnwindSafe for DestinationTransferPeerPath
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