pub struct DeletePromoCodeResponse {
pub deleted: bool,
pub code: String,
}Expand description
DeletePromoCodeResponse model.
Fields§
§deleted: bool§code: StringUpper-cased, which may differ from what was sent.
Trait Implementations§
Source§impl Clone for DeletePromoCodeResponse
impl Clone for DeletePromoCodeResponse
Source§fn clone(&self) -> DeletePromoCodeResponse
fn clone(&self) -> DeletePromoCodeResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DeletePromoCodeResponse
impl Debug for DeletePromoCodeResponse
Source§impl Default for DeletePromoCodeResponse
impl Default for DeletePromoCodeResponse
Source§fn default() -> DeletePromoCodeResponse
fn default() -> DeletePromoCodeResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DeletePromoCodeResponse
impl<'de> Deserialize<'de> for DeletePromoCodeResponse
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 DeletePromoCodeResponse
impl PartialEq for DeletePromoCodeResponse
Source§impl Serialize for DeletePromoCodeResponse
impl Serialize for DeletePromoCodeResponse
impl StructuralPartialEq for DeletePromoCodeResponse
Auto Trait Implementations§
impl Freeze for DeletePromoCodeResponse
impl RefUnwindSafe for DeletePromoCodeResponse
impl Send for DeletePromoCodeResponse
impl Sync for DeletePromoCodeResponse
impl Unpin for DeletePromoCodeResponse
impl UnsafeUnpin for DeletePromoCodeResponse
impl UnwindSafe for DeletePromoCodeResponse
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