pub struct ListPromoCodesResponse {
pub codes: Vec<PromoCode>,
pub count: i64,
}Expand description
ListPromoCodesResponse model.
Fields§
§codes: Vec<PromoCode>§count: i64Trait Implementations§
Source§impl Clone for ListPromoCodesResponse
impl Clone for ListPromoCodesResponse
Source§fn clone(&self) -> ListPromoCodesResponse
fn clone(&self) -> ListPromoCodesResponse
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 ListPromoCodesResponse
impl Debug for ListPromoCodesResponse
Source§impl Default for ListPromoCodesResponse
impl Default for ListPromoCodesResponse
Source§fn default() -> ListPromoCodesResponse
fn default() -> ListPromoCodesResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ListPromoCodesResponse
impl<'de> Deserialize<'de> for ListPromoCodesResponse
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 ListPromoCodesResponse
impl PartialEq for ListPromoCodesResponse
Source§impl Serialize for ListPromoCodesResponse
impl Serialize for ListPromoCodesResponse
impl StructuralPartialEq for ListPromoCodesResponse
Auto Trait Implementations§
impl Freeze for ListPromoCodesResponse
impl RefUnwindSafe for ListPromoCodesResponse
impl Send for ListPromoCodesResponse
impl Sync for ListPromoCodesResponse
impl Unpin for ListPromoCodesResponse
impl UnsafeUnpin for ListPromoCodesResponse
impl UnwindSafe for ListPromoCodesResponse
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