pub struct VoltageLimit {
pub base: OperationalLimit,
pub normal_value: Option<f64>,
pub value: Option<f64>,
}Expand description
Operational limit applied to voltage. The use of operational VoltageLimit is preferred instead of limits defined at VoltageLevel. The operational VoltageLimits are used, if present.
Fields§
§base: OperationalLimit§normal_value: Option<f64>The normal limit on voltage. High or low limit nature of the limit depends upon the properties of the operational limit type. The attribute shall be a positive value or zero.
value: Option<f64>Limit on voltage. High or low limit nature of the limit depends upon the properties of the operational limit type. The attribute shall be a positive value or zero.
Implementations§
Source§impl VoltageLimit
impl VoltageLimit
pub fn from_block(b: &RdfBlock) -> Self
Trait Implementations§
Source§impl CimElement for VoltageLimit
impl CimElement for VoltageLimit
Source§impl Clone for VoltageLimit
impl Clone for VoltageLimit
Source§fn clone(&self) -> VoltageLimit
fn clone(&self) -> VoltageLimit
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 VoltageLimit
impl Debug for VoltageLimit
Source§impl Default for VoltageLimit
impl Default for VoltageLimit
Source§fn default() -> VoltageLimit
fn default() -> VoltageLimit
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for VoltageLimit
impl<'de> Deserialize<'de> for VoltageLimit
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 VoltageLimit
impl RefUnwindSafe for VoltageLimit
impl Send for VoltageLimit
impl Sync for VoltageLimit
impl Unpin for VoltageLimit
impl UnsafeUnpin for VoltageLimit
impl UnwindSafe for VoltageLimit
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