pub struct LocationsType {
pub for_harvests: Option<bool>,
pub for_packages: Option<bool>,
pub for_plant_batches: Option<bool>,
pub for_plants: Option<bool>,
pub id: Option<i64>,
pub name: Option<String>,
}Fields§
§for_harvests: Option<bool>§for_packages: Option<bool>§for_plant_batches: Option<bool>§for_plants: Option<bool>§id: Option<i64>§name: Option<String>Trait Implementations§
Source§impl Clone for LocationsType
impl Clone for LocationsType
Source§fn clone(&self) -> LocationsType
fn clone(&self) -> LocationsType
Returns a duplicate of the value. Read more
1.0.0 · 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 LocationsType
impl Debug for LocationsType
Source§impl<'de> Deserialize<'de> for LocationsType
impl<'de> Deserialize<'de> for LocationsType
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 LocationsType
impl RefUnwindSafe for LocationsType
impl Send for LocationsType
impl Sync for LocationsType
impl Unpin for LocationsType
impl UnsafeUnpin for LocationsType
impl UnwindSafe for LocationsType
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