pub struct SetCollateralCoinParams {
pub coin: String,
pub collateral_switch: String,
}Expand description
Parameters for setting collateral coin.
Fields§
§coin: StringCoin to set.
collateral_switch: StringCollateral switch (ON or OFF).
Implementations§
Trait Implementations§
Source§impl Clone for SetCollateralCoinParams
impl Clone for SetCollateralCoinParams
Source§fn clone(&self) -> SetCollateralCoinParams
fn clone(&self) -> SetCollateralCoinParams
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 SetCollateralCoinParams
impl Debug for SetCollateralCoinParams
Auto Trait Implementations§
impl Freeze for SetCollateralCoinParams
impl RefUnwindSafe for SetCollateralCoinParams
impl Send for SetCollateralCoinParams
impl Sync for SetCollateralCoinParams
impl Unpin for SetCollateralCoinParams
impl UnwindSafe for SetCollateralCoinParams
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