pub struct GiftcardCreateCodeResponseData {
pub code: String,
pub reference_no: String,
}
Expand description
GiftcardCreateCodeResponseData
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 GiftcardCreateCodeResponseData
impl Clone for GiftcardCreateCodeResponseData
Source§fn clone(&self) -> GiftcardCreateCodeResponseData
fn clone(&self) -> GiftcardCreateCodeResponseData
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 GiftcardCreateCodeResponseData
impl<'de> Deserialize<'de> for GiftcardCreateCodeResponseData
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<&GiftcardCreateCodeResponseData> for GiftcardCreateCodeResponseData
impl From<&GiftcardCreateCodeResponseData> for GiftcardCreateCodeResponseData
Source§fn from(value: &GiftcardCreateCodeResponseData) -> Self
fn from(value: &GiftcardCreateCodeResponseData) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for GiftcardCreateCodeResponseData
impl RefUnwindSafe for GiftcardCreateCodeResponseData
impl Send for GiftcardCreateCodeResponseData
impl Sync for GiftcardCreateCodeResponseData
impl Unpin for GiftcardCreateCodeResponseData
impl UnwindSafe for GiftcardCreateCodeResponseData
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