pub struct LimitSet {
pub base: IdentifiedObject,
pub is_percentage_limits: Option<bool>,
}Expand description
Specifies a set of Limits that are associated with a Measurement. A Measurement may have several LimitSets corresponding to seasonal or other changing conditions. The condition is captured in the name and description attributes. The same LimitSet may be used for several Measurements. In particular percentage limits are used this way.
Fields§
§base: IdentifiedObject§is_percentage_limits: Option<bool>Tells if the limit values are in percentage of normalValue or the specified Unit for Measurements and Controls.
Implementations§
Trait Implementations§
Source§impl CimElement for LimitSet
impl CimElement for LimitSet
Source§impl<'de> Deserialize<'de> for LimitSet
impl<'de> Deserialize<'de> for LimitSet
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 LimitSet
impl RefUnwindSafe for LimitSet
impl Send for LimitSet
impl Sync for LimitSet
impl Unpin for LimitSet
impl UnsafeUnpin for LimitSet
impl UnwindSafe for LimitSet
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