pub struct Participation {
pub is_participating: bool,
pub has_suspended_listings: bool,
}Expand description
Participation : Information that is specific to a seller in a marketplace.
Fields§
§is_participating: boolIf true, the seller participates in the marketplace. Otherwise false.
has_suspended_listings: boolSpecifies if the seller has suspended listings. true if the seller Listing Status is set to Inactive, otherwise false.
Implementations§
Source§impl Participation
impl Participation
Sourcepub fn new(
is_participating: bool,
has_suspended_listings: bool,
) -> Participation
pub fn new( is_participating: bool, has_suspended_listings: bool, ) -> Participation
Information that is specific to a seller in a marketplace.
Trait Implementations§
Source§impl Clone for Participation
impl Clone for Participation
Source§fn clone(&self) -> Participation
fn clone(&self) -> Participation
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 Participation
impl Debug for Participation
Source§impl Default for Participation
impl Default for Participation
Source§fn default() -> Participation
fn default() -> Participation
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Participation
impl<'de> Deserialize<'de> for Participation
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 Participation
impl PartialEq for Participation
Source§impl Serialize for Participation
impl Serialize for Participation
impl StructuralPartialEq for Participation
Auto Trait Implementations§
impl Freeze for Participation
impl RefUnwindSafe for Participation
impl Send for Participation
impl Sync for Participation
impl Unpin for Participation
impl UnsafeUnpin for Participation
impl UnwindSafe for Participation
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