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