pub struct StaticReserve {
pub metadata: Metadata,
pub name: String,
pub available: bool,
pub time_frame: f64,
pub requirement: f64,
pub ext: Value,
pub internal: InfrastructureSystemsInternal,
}Expand description
Data Structure for a proportional reserve product for system simulations.
Fields§
§metadata: Metadata§name: String§available: bool§time_frame: f64the relative saturation time_frame
requirement: f64the static value of required reserves in system p.u.
ext: Value§internal: InfrastructureSystemsInternalpower system internal reference, do not modify
Implementations§
Source§impl StaticReserve
impl StaticReserve
pub const SUPER_TYPE: &'static str = "Reserve{T}"
Trait Implementations§
Source§impl Clone for StaticReserve
impl Clone for StaticReserve
Source§fn clone(&self) -> StaticReserve
fn clone(&self) -> StaticReserve
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 StaticReserve
impl Debug for StaticReserve
Source§impl Default for StaticReserve
impl Default for StaticReserve
Source§fn default() -> StaticReserve
fn default() -> StaticReserve
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StaticReserve
impl<'de> Deserialize<'de> for StaticReserve
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 StaticReserve
impl PartialEq for StaticReserve
Source§impl Serialize for StaticReserve
impl Serialize for StaticReserve
impl StructuralPartialEq for StaticReserve
Auto Trait Implementations§
impl Freeze for StaticReserve
impl RefUnwindSafe for StaticReserve
impl Send for StaticReserve
impl Sync for StaticReserve
impl Unpin for StaticReserve
impl UnwindSafe for StaticReserve
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