pub struct DepositMethod {
pub method: String,
pub limit: BoolOrString,
pub fee: Option<Decimal>,
pub address_setup_fee: Option<Decimal>,
pub gen_address: Option<bool>,
pub minimum: Decimal,
}
Expand description
Description of a deposit method
Fields§
§method: String
§limit: BoolOrString
§fee: Option<Decimal>
§address_setup_fee: Option<Decimal>
§gen_address: Option<bool>
§minimum: Decimal
Trait Implementations§
Source§impl Clone for DepositMethod
impl Clone for DepositMethod
Source§fn clone(&self) -> DepositMethod
fn clone(&self) -> DepositMethod
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 DepositMethod
impl Debug for DepositMethod
Source§impl<'de> Deserialize<'de> for DepositMethod
impl<'de> Deserialize<'de> for DepositMethod
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 DepositMethod
impl PartialEq for DepositMethod
impl StructuralPartialEq for DepositMethod
Auto Trait Implementations§
impl Freeze for DepositMethod
impl RefUnwindSafe for DepositMethod
impl Send for DepositMethod
impl Sync for DepositMethod
impl Unpin for DepositMethod
impl UnwindSafe for DepositMethod
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