pub struct StrainsCreateUpdateV1RequestItem {
pub cbd_level: Option<f64>,
pub id: Option<i64>,
pub indica_percentage: Option<f64>,
pub name: Option<String>,
pub sativa_percentage: Option<f64>,
pub testing_status: Option<String>,
pub thc_level: Option<f64>,
}Fields§
§cbd_level: Option<f64>§id: Option<i64>§indica_percentage: Option<f64>§name: Option<String>§sativa_percentage: Option<f64>§testing_status: Option<String>§thc_level: Option<f64>Trait Implementations§
Source§impl Clone for StrainsCreateUpdateV1RequestItem
impl Clone for StrainsCreateUpdateV1RequestItem
Source§fn clone(&self) -> StrainsCreateUpdateV1RequestItem
fn clone(&self) -> StrainsCreateUpdateV1RequestItem
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<'de> Deserialize<'de> for StrainsCreateUpdateV1RequestItem
impl<'de> Deserialize<'de> for StrainsCreateUpdateV1RequestItem
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 StrainsCreateUpdateV1RequestItem
impl RefUnwindSafe for StrainsCreateUpdateV1RequestItem
impl Send for StrainsCreateUpdateV1RequestItem
impl Sync for StrainsCreateUpdateV1RequestItem
impl Unpin for StrainsCreateUpdateV1RequestItem
impl UnwindSafe for StrainsCreateUpdateV1RequestItem
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