pub struct Unit {
pub description: CogniteDescribable,
pub symbol: Option<String>,
pub quantity: Option<String>,
pub source: Option<String>,
pub source_reference: Option<String>,
}Expand description
The properties of the file object.
Fields§
§description: CogniteDescribableCognite describable.
symbol: Option<String>The symbol for the unit of measurement.
quantity: Option<String>Specifies the physical quantity the unit measures.
source: Option<String>Source of the unit definition
source_reference: Option<String>Reference to the source of the unit definition.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Unit
impl<'de> Deserialize<'de> for Unit
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 Unit
impl RefUnwindSafe for Unit
impl Send for Unit
impl Sync for Unit
impl Unpin for Unit
impl UnwindSafe for Unit
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