pub struct ControlAreaGeneratingUnit {
pub base: IdentifiedObject,
pub control_area: Option<MridRef>,
pub generating_unit: Option<MridRef>,
}Expand description
A control area generating unit. This class is needed so that alternate control area definitions may include the same generating unit. It should be noted that only one instance within a control area should reference a specific generating unit.
Fields§
§base: IdentifiedObject§control_area: Option<MridRef>The parent control area for the generating unit specifications.
generating_unit: Option<MridRef>The generating unit specified for this control area. Note that a control area should include a GeneratingUnit only once.
Implementations§
Source§impl ControlAreaGeneratingUnit
impl ControlAreaGeneratingUnit
pub fn from_block(b: &RdfBlock) -> Self
Trait Implementations§
Source§impl Clone for ControlAreaGeneratingUnit
impl Clone for ControlAreaGeneratingUnit
Source§fn clone(&self) -> ControlAreaGeneratingUnit
fn clone(&self) -> ControlAreaGeneratingUnit
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 ControlAreaGeneratingUnit
impl Debug for ControlAreaGeneratingUnit
Source§impl Default for ControlAreaGeneratingUnit
impl Default for ControlAreaGeneratingUnit
Source§fn default() -> ControlAreaGeneratingUnit
fn default() -> ControlAreaGeneratingUnit
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ControlAreaGeneratingUnit
impl<'de> Deserialize<'de> for ControlAreaGeneratingUnit
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 ControlAreaGeneratingUnit
impl RefUnwindSafe for ControlAreaGeneratingUnit
impl Send for ControlAreaGeneratingUnit
impl Sync for ControlAreaGeneratingUnit
impl Unpin for ControlAreaGeneratingUnit
impl UnsafeUnpin for ControlAreaGeneratingUnit
impl UnwindSafe for ControlAreaGeneratingUnit
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