Struct google_content2::api::Warehouse
source · pub struct Warehouse {
pub business_day_config: Option<BusinessDayConfig>,
pub cutoff_time: Option<WarehouseCutoffTime>,
pub handling_days: Option<i64>,
pub name: Option<String>,
pub shipping_address: Option<Address>,
}
Expand description
A fulfillment warehouse, which stores and handles inventory.
This type is not used in any activity, and only used as part of another schema.
Fields§
§business_day_config: Option<BusinessDayConfig>
Business days of the warehouse. If not set, will be Monday to Friday by default.
cutoff_time: Option<WarehouseCutoffTime>
Required. The latest time of day that an order can be accepted and begin processing. Later orders will be processed in the next day. The time is based on the warehouse postal code.
handling_days: Option<i64>
Required. The number of days it takes for this warehouse to pack up and ship an item. This is on the warehouse level, but can be overridden on the offer level based on the attributes of an item.
name: Option<String>
Required. The name of the warehouse. Must be unique within account.
shipping_address: Option<Address>
Required. Shipping address of the warehouse.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Warehouse
impl<'de> Deserialize<'de> for Warehouse
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 Part for Warehouse
Auto Trait Implementations§
impl RefUnwindSafe for Warehouse
impl Send for Warehouse
impl Sync for Warehouse
impl Unpin for Warehouse
impl UnwindSafe for Warehouse
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