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§
Source§impl Clone for CatalogQuickAmountsSettings
impl Clone for CatalogQuickAmountsSettings
Source§fn clone(&self) -> CatalogQuickAmountsSettings
fn clone(&self) -> CatalogQuickAmountsSettings
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for CatalogQuickAmountsSettings
impl Debug for CatalogQuickAmountsSettings
Source§impl Default for CatalogQuickAmountsSettings
impl Default for CatalogQuickAmountsSettings
Source§fn default() -> CatalogQuickAmountsSettings
fn default() -> CatalogQuickAmountsSettings
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CatalogQuickAmountsSettings
impl<'de> Deserialize<'de> for CatalogQuickAmountsSettings
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 Eq for CatalogQuickAmountsSettings
impl StructuralPartialEq for CatalogQuickAmountsSettings
Auto Trait Implementations§
impl Freeze for CatalogQuickAmountsSettings
impl RefUnwindSafe for CatalogQuickAmountsSettings
impl Send for CatalogQuickAmountsSettings
impl Sync for CatalogQuickAmountsSettings
impl Unpin for CatalogQuickAmountsSettings
impl UnwindSafe for CatalogQuickAmountsSettings
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.