pub struct CreateGiftcardCreateCodeV1Resp {
pub code: Option<String>,
pub data: Option<Box<CreateGiftcardBuyCodeV1RespData>>,
pub message: Option<String>,
pub success: Option<bool>,
}Fields§
§code: Option<String>§data: Option<Box<CreateGiftcardBuyCodeV1RespData>>§message: Option<String>§success: Option<bool>Implementations§
Trait Implementations§
Source§impl Clone for CreateGiftcardCreateCodeV1Resp
impl Clone for CreateGiftcardCreateCodeV1Resp
Source§fn clone(&self) -> CreateGiftcardCreateCodeV1Resp
fn clone(&self) -> CreateGiftcardCreateCodeV1Resp
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 Default for CreateGiftcardCreateCodeV1Resp
impl Default for CreateGiftcardCreateCodeV1Resp
Source§fn default() -> CreateGiftcardCreateCodeV1Resp
fn default() -> CreateGiftcardCreateCodeV1Resp
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateGiftcardCreateCodeV1Resp
impl<'de> Deserialize<'de> for CreateGiftcardCreateCodeV1Resp
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 PartialEq for CreateGiftcardCreateCodeV1Resp
impl PartialEq for CreateGiftcardCreateCodeV1Resp
Source§fn eq(&self, other: &CreateGiftcardCreateCodeV1Resp) -> bool
fn eq(&self, other: &CreateGiftcardCreateCodeV1Resp) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CreateGiftcardCreateCodeV1Resp
Auto Trait Implementations§
impl Freeze for CreateGiftcardCreateCodeV1Resp
impl RefUnwindSafe for CreateGiftcardCreateCodeV1Resp
impl Send for CreateGiftcardCreateCodeV1Resp
impl Sync for CreateGiftcardCreateCodeV1Resp
impl Unpin for CreateGiftcardCreateCodeV1Resp
impl UnwindSafe for CreateGiftcardCreateCodeV1Resp
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