pub struct SwitchListData {
pub coin: String,
pub collateral_switch: String,
}Expand description
Represents a single collateral coin status update.
Details the collateral status for a specific coin in a batch setting request. Bots use this to confirm the outcome for each coin.
Fields§
§coin: StringThe currency of the coin (e.g., “USDT”).
Specifies the coin whose collateral status was updated. Bots should verify this matches the requested coin.
collateral_switch: StringThe collateral switch status (e.g., “ON”, “OFF”).
Indicates whether the coin is enabled (ON) or disabled (OFF) as collateral. Bots use this to confirm the new collateral setting.
Trait Implementations§
Source§impl Clone for SwitchListData
impl Clone for SwitchListData
Source§fn clone(&self) -> SwitchListData
fn clone(&self) -> SwitchListData
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 SwitchListData
impl Debug for SwitchListData
Source§impl<'de> Deserialize<'de> for SwitchListData
impl<'de> Deserialize<'de> for SwitchListData
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
Auto Trait Implementations§
impl Freeze for SwitchListData
impl RefUnwindSafe for SwitchListData
impl Send for SwitchListData
impl Sync for SwitchListData
impl Unpin for SwitchListData
impl UnsafeUnpin for SwitchListData
impl UnwindSafe for SwitchListData
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