pub struct GiftcardBuyCodeTokenLimitResponse {
pub code: String,
pub data: GiftcardBuyCodeTokenLimitResponseData,
pub message: String,
pub success: bool,
}
Expand description
GiftcardBuyCodeTokenLimitResponse
JSON schema
{
"type": "object",
"required": [
"code",
"data",
"message",
"success"
],
"properties": {
"code": {
"examples": [
"000000"
],
"type": "string"
},
"data": {
"type": "object",
"required": [
"code",
"referenceNo"
],
"properties": {
"coin": {
"examples": [
"BNB"
],
"type": "string"
},
"fromMax": {
"examples": [
"1"
],
"type": "string"
},
"fromMin": {
"examples": [
"0.01"
],
"type": "string"
}
}
},
"message": {
"examples": [
"success"
],
"type": "string"
},
"success": {
"type": "boolean"
}
}
}
Fields§
§code: String
§data: GiftcardBuyCodeTokenLimitResponseData
§message: String
§success: bool
Trait Implementations§
Source§impl Clone for GiftcardBuyCodeTokenLimitResponse
impl Clone for GiftcardBuyCodeTokenLimitResponse
Source§fn clone(&self) -> GiftcardBuyCodeTokenLimitResponse
fn clone(&self) -> GiftcardBuyCodeTokenLimitResponse
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 GiftcardBuyCodeTokenLimitResponse
impl<'de> Deserialize<'de> for GiftcardBuyCodeTokenLimitResponse
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<&GiftcardBuyCodeTokenLimitResponse> for GiftcardBuyCodeTokenLimitResponse
impl From<&GiftcardBuyCodeTokenLimitResponse> for GiftcardBuyCodeTokenLimitResponse
Source§fn from(value: &GiftcardBuyCodeTokenLimitResponse) -> Self
fn from(value: &GiftcardBuyCodeTokenLimitResponse) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for GiftcardBuyCodeTokenLimitResponse
impl RefUnwindSafe for GiftcardBuyCodeTokenLimitResponse
impl Send for GiftcardBuyCodeTokenLimitResponse
impl Sync for GiftcardBuyCodeTokenLimitResponse
impl Unpin for GiftcardBuyCodeTokenLimitResponse
impl UnwindSafe for GiftcardBuyCodeTokenLimitResponse
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