pub struct MaximumPowerValue(pub String);Expand description
Maximum power value in kW ("\d{0,6}(\.\d{1,3})?").
Tuple Fields§
§0: StringTrait Implementations§
Source§impl Clone for MaximumPowerValue
impl Clone for MaximumPowerValue
Source§fn clone(&self) -> MaximumPowerValue
fn clone(&self) -> MaximumPowerValue
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 moreSource§impl Debug for MaximumPowerValue
impl Debug for MaximumPowerValue
Source§impl<'de> Deserialize<'de> for MaximumPowerValue
impl<'de> Deserialize<'de> for MaximumPowerValue
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 MaximumPowerValue
Source§impl PartialEq for MaximumPowerValue
impl PartialEq for MaximumPowerValue
Source§fn eq(&self, other: &MaximumPowerValue) -> bool
fn eq(&self, other: &MaximumPowerValue) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for MaximumPowerValue
impl Serialize for MaximumPowerValue
impl StructuralPartialEq for MaximumPowerValue
Auto Trait Implementations§
impl Freeze for MaximumPowerValue
impl RefUnwindSafe for MaximumPowerValue
impl Send for MaximumPowerValue
impl Sync for MaximumPowerValue
impl Unpin for MaximumPowerValue
impl UnsafeUnpin for MaximumPowerValue
impl UnwindSafe for MaximumPowerValue
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