pub struct StationSupply {
pub base: EnergyConsumer,
}Expand description
Station supply with load derived from the station output.
Fields§
§base: EnergyConsumerImplementations§
Source§impl StationSupply
impl StationSupply
pub fn from_block(b: &RdfBlock) -> Self
Trait Implementations§
Source§impl CimElement for StationSupply
impl CimElement for StationSupply
Source§impl Clone for StationSupply
impl Clone for StationSupply
Source§fn clone(&self) -> StationSupply
fn clone(&self) -> StationSupply
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 StationSupply
impl Debug for StationSupply
Source§impl Default for StationSupply
impl Default for StationSupply
Source§fn default() -> StationSupply
fn default() -> StationSupply
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StationSupply
impl<'de> Deserialize<'de> for StationSupply
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 StationSupply
impl RefUnwindSafe for StationSupply
impl Send for StationSupply
impl Sync for StationSupply
impl Unpin for StationSupply
impl UnsafeUnpin for StationSupply
impl UnwindSafe for StationSupply
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