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