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