pub struct SubAccountMarginEnableResponse {
pub email: String,
pub is_margin_enabled: bool,
}
Expand description
SubAccountMarginEnableResponse
JSON schema
{
"type": "object",
"required": [
"email",
"isMarginEnabled"
],
"properties": {
"email": {
"examples": [
"123@test.com"
],
"type": "string"
},
"isMarginEnabled": {
"type": "boolean"
}
}
}
Fields§
§email: String
§is_margin_enabled: bool
Trait Implementations§
Source§impl Clone for SubAccountMarginEnableResponse
impl Clone for SubAccountMarginEnableResponse
Source§fn clone(&self) -> SubAccountMarginEnableResponse
fn clone(&self) -> SubAccountMarginEnableResponse
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<'de> Deserialize<'de> for SubAccountMarginEnableResponse
impl<'de> Deserialize<'de> for SubAccountMarginEnableResponse
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 From<&SubAccountMarginEnableResponse> for SubAccountMarginEnableResponse
impl From<&SubAccountMarginEnableResponse> for SubAccountMarginEnableResponse
Source§fn from(value: &SubAccountMarginEnableResponse) -> Self
fn from(value: &SubAccountMarginEnableResponse) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SubAccountMarginEnableResponse
impl RefUnwindSafe for SubAccountMarginEnableResponse
impl Send for SubAccountMarginEnableResponse
impl Sync for SubAccountMarginEnableResponse
impl Unpin for SubAccountMarginEnableResponse
impl UnwindSafe for SubAccountMarginEnableResponse
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