pub enum ObjectiveQuantityUnit {
Other,
Mw,
Mwh,
Mvar,
Mva,
Pu,
PuHour,
Rad,
Event,
}Expand description
Unit associated with an optional objective quantity.
Variants§
Trait Implementations§
Source§impl Clone for ObjectiveQuantityUnit
impl Clone for ObjectiveQuantityUnit
Source§fn clone(&self) -> ObjectiveQuantityUnit
fn clone(&self) -> ObjectiveQuantityUnit
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ObjectiveQuantityUnit
Source§impl Debug for ObjectiveQuantityUnit
impl Debug for ObjectiveQuantityUnit
Source§impl Default for ObjectiveQuantityUnit
impl Default for ObjectiveQuantityUnit
Source§fn default() -> ObjectiveQuantityUnit
fn default() -> ObjectiveQuantityUnit
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ObjectiveQuantityUnit
impl<'de> Deserialize<'de> for ObjectiveQuantityUnit
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
impl Eq for ObjectiveQuantityUnit
Source§impl Hash for ObjectiveQuantityUnit
impl Hash for ObjectiveQuantityUnit
Source§impl PartialEq for ObjectiveQuantityUnit
impl PartialEq for ObjectiveQuantityUnit
Source§impl Serialize for ObjectiveQuantityUnit
impl Serialize for ObjectiveQuantityUnit
impl StructuralPartialEq for ObjectiveQuantityUnit
Auto Trait Implementations§
impl Freeze for ObjectiveQuantityUnit
impl RefUnwindSafe for ObjectiveQuantityUnit
impl Send for ObjectiveQuantityUnit
impl Sync for ObjectiveQuantityUnit
impl Unpin for ObjectiveQuantityUnit
impl UnsafeUnpin for ObjectiveQuantityUnit
impl UnwindSafe for ObjectiveQuantityUnit
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