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