pub struct UpdateLocation {
pub location_type: Option<LocationType>,
pub zone: Option<String>,
pub aisle: Option<String>,
pub rack: Option<String>,
pub level: Option<String>,
pub bin: Option<String>,
pub max_weight_kg: Option<Decimal>,
pub max_volume_m3: Option<Decimal>,
pub is_pickable: Option<bool>,
pub is_receivable: Option<bool>,
pub is_active: Option<bool>,
}Expand description
Input for updating a location
Fields§
§location_type: Option<LocationType>§zone: Option<String>§aisle: Option<String>§rack: Option<String>§level: Option<String>§bin: Option<String>§max_weight_kg: Option<Decimal>§max_volume_m3: Option<Decimal>§is_pickable: Option<bool>§is_receivable: Option<bool>§is_active: Option<bool>Trait Implementations§
Source§impl Clone for UpdateLocation
impl Clone for UpdateLocation
Source§fn clone(&self) -> UpdateLocation
fn clone(&self) -> UpdateLocation
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 UpdateLocation
impl Debug for UpdateLocation
Source§impl Default for UpdateLocation
impl Default for UpdateLocation
Source§fn default() -> UpdateLocation
fn default() -> UpdateLocation
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateLocation
impl<'de> Deserialize<'de> for UpdateLocation
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<UpdateLocation, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<UpdateLocation, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for UpdateLocation
impl Serialize for UpdateLocation
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
Auto Trait Implementations§
impl Freeze for UpdateLocation
impl RefUnwindSafe for UpdateLocation
impl Send for UpdateLocation
impl Sync for UpdateLocation
impl Unpin for UpdateLocation
impl UnsafeUnpin for UpdateLocation
impl UnwindSafe for UpdateLocation
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