pub struct Location {
pub id: String,
pub name: String,
pub location_type: String,
pub parent_id: Option<String>,
pub address: Option<String>,
pub capacity_units: Option<f64>,
pub capacity_weight_kg: Option<f64>,
pub capacity_volume_m3: Option<f64>,
pub used_units: f64,
pub used_weight_kg: f64,
pub used_volume_m3: f64,
}Fields§
§id: String§name: String§location_type: String§parent_id: Option<String>§address: Option<String>§capacity_units: Option<f64>§capacity_weight_kg: Option<f64>§capacity_volume_m3: Option<f64>§used_units: f64§used_weight_kg: f64§used_volume_m3: f64Trait Implementations§
Source§impl<'de> Deserialize<'de> for Location
impl<'de> Deserialize<'de> for Location
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
Auto Trait Implementations§
impl Freeze for Location
impl RefUnwindSafe for Location
impl Send for Location
impl Sync for Location
impl Unpin for Location
impl UnsafeUnpin for Location
impl UnwindSafe for Location
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