pub struct CurrentLimit {
pub base: OperationalLimit,
pub normal_value: Option<f64>,
pub value: Option<f64>,
}Expand description
Operational limit on current.
Fields§
§base: OperationalLimit§normal_value: Option<f64>The normal value for limit on current flow. The attribute shall be a positive value or zero.
value: Option<f64>Limit on current flow. The attribute shall be a positive value or zero.
Implementations§
Source§impl CurrentLimit
impl CurrentLimit
pub fn from_block(b: &RdfBlock) -> Self
Trait Implementations§
Source§impl CimElement for CurrentLimit
impl CimElement for CurrentLimit
Source§impl Clone for CurrentLimit
impl Clone for CurrentLimit
Source§fn clone(&self) -> CurrentLimit
fn clone(&self) -> CurrentLimit
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 CurrentLimit
impl Debug for CurrentLimit
Source§impl Default for CurrentLimit
impl Default for CurrentLimit
Source§fn default() -> CurrentLimit
fn default() -> CurrentLimit
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CurrentLimit
impl<'de> Deserialize<'de> for CurrentLimit
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 CurrentLimit
impl RefUnwindSafe for CurrentLimit
impl Send for CurrentLimit
impl Sync for CurrentLimit
impl Unpin for CurrentLimit
impl UnsafeUnpin for CurrentLimit
impl UnwindSafe for CurrentLimit
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