pub struct CatalogQuickAmountsSettings {
pub option: CatalogQuickAmountsSettingsOption,
pub eligible_for_auto_amounts: Option<bool>,
pub amounts: Option<Vec<CatalogQuickAmount>>,
}
Expand description
A parent Catalog Object model represents a set of Quick Amounts and the settings control the amounts.
Fields
option: CatalogQuickAmountsSettingsOption
Represents the option seller currently uses on Quick Amounts.
eligible_for_auto_amounts: Option<bool>
Represents location’s eligibility for auto amounts The boolean should be consistent with
whether there are AUTO amounts in the amounts
.
amounts: Option<Vec<CatalogQuickAmount>>
Represents a set of Quick Amounts at this location.
Trait Implementations
sourceimpl Clone for CatalogQuickAmountsSettings
impl Clone for CatalogQuickAmountsSettings
sourcefn clone(&self) -> CatalogQuickAmountsSettings
fn clone(&self) -> CatalogQuickAmountsSettings
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for CatalogQuickAmountsSettings
impl Debug for CatalogQuickAmountsSettings
sourceimpl Default for CatalogQuickAmountsSettings
impl Default for CatalogQuickAmountsSettings
sourcefn default() -> CatalogQuickAmountsSettings
fn default() -> CatalogQuickAmountsSettings
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for CatalogQuickAmountsSettings
impl<'de> Deserialize<'de> for CatalogQuickAmountsSettings
sourcefn 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
sourceimpl PartialEq<CatalogQuickAmountsSettings> for CatalogQuickAmountsSettings
impl PartialEq<CatalogQuickAmountsSettings> for CatalogQuickAmountsSettings
sourcefn eq(&self, other: &CatalogQuickAmountsSettings) -> bool
fn eq(&self, other: &CatalogQuickAmountsSettings) -> bool
impl Eq for CatalogQuickAmountsSettings
impl StructuralEq for CatalogQuickAmountsSettings
impl StructuralPartialEq for CatalogQuickAmountsSettings
Auto Trait Implementations
impl RefUnwindSafe for CatalogQuickAmountsSettings
impl Send for CatalogQuickAmountsSettings
impl Sync for CatalogQuickAmountsSettings
impl Unpin for CatalogQuickAmountsSettings
impl UnwindSafe for CatalogQuickAmountsSettings
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.