pub struct DeclaredUnit {
pub id: ConceptId,
pub name: String,
pub namespace: String,
pub dimension: String,
pub base_factor: String,
pub base_unit: String,
}Expand description
A unit declared by the parsed SEA source.
Fields§
§id: ConceptId§name: String§namespace: String§dimension: String§base_factor: String§base_unit: StringTrait Implementations§
Source§impl Clone for DeclaredUnit
impl Clone for DeclaredUnit
Source§impl Debug for DeclaredUnit
impl Debug for DeclaredUnit
Source§impl<'de> Deserialize<'de> for DeclaredUnit
impl<'de> Deserialize<'de> for DeclaredUnit
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
Source§impl PartialEq for DeclaredUnit
impl PartialEq for DeclaredUnit
Source§impl Serialize for DeclaredUnit
impl Serialize for DeclaredUnit
impl StructuralPartialEq for DeclaredUnit
Auto Trait Implementations§
impl Forget for DeclaredUnit
impl Freeze for DeclaredUnit
impl Move for DeclaredUnit
impl RefUnwindSafe for DeclaredUnit
impl Send for DeclaredUnitwhere
RawVecInner: Send,
impl Sync for DeclaredUnitwhere
RawVecInner: Sync,
impl Unpin for DeclaredUnit
impl UnsafeUnpin for DeclaredUnit
impl UnwindSafe for DeclaredUnitwhere
RawVecInner: UnwindSafe,
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