pub struct ToCollateralTransaction {
pub asset: Option<String>,
pub amount: Option<String>,
pub src_address: Option<String>,
pub src_tag: Option<String>,
pub fee: Option<String>,
}Fields§
§asset: Option<String>§amount: Option<String>§src_address: Option<String>§src_tag: Option<String>optional
fee: Option<String>optional
Implementations§
Source§impl ToCollateralTransaction
impl ToCollateralTransaction
pub fn new() -> ToCollateralTransaction
Trait Implementations§
Source§impl Clone for ToCollateralTransaction
impl Clone for ToCollateralTransaction
Source§fn clone(&self) -> ToCollateralTransaction
fn clone(&self) -> ToCollateralTransaction
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 ToCollateralTransaction
impl Debug for ToCollateralTransaction
Source§impl Default for ToCollateralTransaction
impl Default for ToCollateralTransaction
Source§fn default() -> ToCollateralTransaction
fn default() -> ToCollateralTransaction
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ToCollateralTransaction
impl<'de> Deserialize<'de> for ToCollateralTransaction
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 ToCollateralTransaction
impl PartialEq for ToCollateralTransaction
Source§impl Serialize for ToCollateralTransaction
impl Serialize for ToCollateralTransaction
impl StructuralPartialEq for ToCollateralTransaction
Auto Trait Implementations§
impl Freeze for ToCollateralTransaction
impl RefUnwindSafe for ToCollateralTransaction
impl Send for ToCollateralTransaction
impl Sync for ToCollateralTransaction
impl Unpin for ToCollateralTransaction
impl UnwindSafe for ToCollateralTransaction
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