pub struct ListLoyaltyProgramsResponse {
pub errors: Option<Vec<Error>>,
pub programs: Option<Vec<LoyaltyProgram>>,
}Expand description
ListLoyaltyProgramsResponse : A response that contains all loyalty programs.
Fields§
§errors: Option<Vec<Error>>Any errors that occurred during the request.
programs: Option<Vec<LoyaltyProgram>>A list of LoyaltyProgram for the merchant.
Implementations§
Source§impl ListLoyaltyProgramsResponse
impl ListLoyaltyProgramsResponse
Sourcepub fn new() -> ListLoyaltyProgramsResponse
pub fn new() -> ListLoyaltyProgramsResponse
A response that contains all loyalty programs.
Trait Implementations§
Source§impl Clone for ListLoyaltyProgramsResponse
impl Clone for ListLoyaltyProgramsResponse
Source§fn clone(&self) -> ListLoyaltyProgramsResponse
fn clone(&self) -> ListLoyaltyProgramsResponse
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 ListLoyaltyProgramsResponse
impl Debug for ListLoyaltyProgramsResponse
Source§impl Default for ListLoyaltyProgramsResponse
impl Default for ListLoyaltyProgramsResponse
Source§fn default() -> ListLoyaltyProgramsResponse
fn default() -> ListLoyaltyProgramsResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ListLoyaltyProgramsResponse
impl<'de> Deserialize<'de> for ListLoyaltyProgramsResponse
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
impl StructuralPartialEq for ListLoyaltyProgramsResponse
Auto Trait Implementations§
impl Freeze for ListLoyaltyProgramsResponse
impl RefUnwindSafe for ListLoyaltyProgramsResponse
impl Send for ListLoyaltyProgramsResponse
impl Sync for ListLoyaltyProgramsResponse
impl Unpin for ListLoyaltyProgramsResponse
impl UnsafeUnpin for ListLoyaltyProgramsResponse
impl UnwindSafe for ListLoyaltyProgramsResponse
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