pub struct StaticReserveGroup {
pub metadata: Metadata,
pub name: String,
pub available: bool,
pub requirement: f64,
pub ext: Value,
pub contributing_services: Vec<Service>,
pub internal: InfrastructureSystemsInternal,
}
Expand description
Data Structure for a group reserve product for system simulations.
Fields§
§metadata: Metadata
§name: String
§available: bool
§requirement: f64
the static value of required reserves in system p.u.
ext: Value
§contributing_services: Vec<Service>
Services that contribute for this requirement constraint
internal: InfrastructureSystemsInternal
power system internal reference, do not modify
Implementations§
Source§impl StaticReserveGroup
impl StaticReserveGroup
pub const SUPER_TYPE: &'static str = "Service"
Trait Implementations§
Source§impl Clone for StaticReserveGroup
impl Clone for StaticReserveGroup
Source§fn clone(&self) -> StaticReserveGroup
fn clone(&self) -> StaticReserveGroup
Returns a duplicate of the value. Read more
1.0.0 · 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 StaticReserveGroup
impl Debug for StaticReserveGroup
Source§impl Default for StaticReserveGroup
impl Default for StaticReserveGroup
Source§fn default() -> StaticReserveGroup
fn default() -> StaticReserveGroup
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StaticReserveGroup
impl<'de> Deserialize<'de> for StaticReserveGroup
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
Source§impl PartialEq for StaticReserveGroup
impl PartialEq for StaticReserveGroup
Source§impl Serialize for StaticReserveGroup
impl Serialize for StaticReserveGroup
impl StructuralPartialEq for StaticReserveGroup
Auto Trait Implementations§
impl Freeze for StaticReserveGroup
impl RefUnwindSafe for StaticReserveGroup
impl Send for StaticReserveGroup
impl Sync for StaticReserveGroup
impl Unpin for StaticReserveGroup
impl UnwindSafe for StaticReserveGroup
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