pub struct GetPromotionCodesResponse {
pub data: Vec<PromotionCode>,
pub has_more: bool,
pub object: String,
pub url: String,
}
Expand description
Fields§
§data: Vec<PromotionCode>
§has_more: bool
True if this list has another page of items after this one that can be fetched.
object: String
String representing the object’s type. Objects of the same type share the same value. Always has the value list
.
url: String
The URL where this list can be accessed.
Trait Implementations§
Source§impl Clone for GetPromotionCodesResponse
impl Clone for GetPromotionCodesResponse
Source§fn clone(&self) -> GetPromotionCodesResponse
fn clone(&self) -> GetPromotionCodesResponse
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 GetPromotionCodesResponse
impl Debug for GetPromotionCodesResponse
Source§impl Default for GetPromotionCodesResponse
impl Default for GetPromotionCodesResponse
Source§fn default() -> GetPromotionCodesResponse
fn default() -> GetPromotionCodesResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetPromotionCodesResponse
impl<'de> Deserialize<'de> for GetPromotionCodesResponse
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 Display for GetPromotionCodesResponse
impl Display for GetPromotionCodesResponse
Auto Trait Implementations§
impl Freeze for GetPromotionCodesResponse
impl RefUnwindSafe for GetPromotionCodesResponse
impl Send for GetPromotionCodesResponse
impl Sync for GetPromotionCodesResponse
impl Unpin for GetPromotionCodesResponse
impl UnwindSafe for GetPromotionCodesResponse
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