pub struct FormatAllocation {
pub auction: Option<i32>,
pub fixed_price: Option<i32>,
}Expand description
FormatAllocation : This type is used to indicate the quantities of the inventory items that are reserved for the different listing formats of the SKU offers.
Fields§
§auction: Option<i32>This integer value indicates the quantity of the inventory item that is reserved for the published auction format offers of the SKU.
fixed_price: Option<i32>This integer value indicates the quantity of the inventory item that is available for the fixed-price offers of the SKU.
Implementations§
Source§impl FormatAllocation
impl FormatAllocation
Sourcepub fn new() -> FormatAllocation
pub fn new() -> FormatAllocation
This type is used to indicate the quantities of the inventory items that are reserved for the different listing formats of the SKU offers.
Trait Implementations§
Source§impl Clone for FormatAllocation
impl Clone for FormatAllocation
Source§fn clone(&self) -> FormatAllocation
fn clone(&self) -> FormatAllocation
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 FormatAllocation
impl Debug for FormatAllocation
Source§impl Default for FormatAllocation
impl Default for FormatAllocation
Source§fn default() -> FormatAllocation
fn default() -> FormatAllocation
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FormatAllocation
impl<'de> Deserialize<'de> for FormatAllocation
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<FormatAllocation, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<FormatAllocation, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for FormatAllocation
impl PartialEq for FormatAllocation
Source§impl Serialize for FormatAllocation
impl Serialize for FormatAllocation
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for FormatAllocation
Auto Trait Implementations§
impl Freeze for FormatAllocation
impl RefUnwindSafe for FormatAllocation
impl Send for FormatAllocation
impl Sync for FormatAllocation
impl Unpin for FormatAllocation
impl UnsafeUnpin for FormatAllocation
impl UnwindSafe for FormatAllocation
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