pub struct KaskadePoint {
pub position: u32,
pub quantity: Decimal3,
}Expand description
A single point within Available_Period.
Fields§
§position: u32Position in the series (always 1 for emergency measures).
quantity: Decimal3Quantity in MW (the curtailed / required power).
Trait Implementations§
Source§impl Clone for KaskadePoint
impl Clone for KaskadePoint
Source§fn clone(&self) -> KaskadePoint
fn clone(&self) -> KaskadePoint
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 KaskadePoint
impl Debug for KaskadePoint
Source§impl<'de> Deserialize<'de> for KaskadePoint
impl<'de> Deserialize<'de> for KaskadePoint
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 KaskadePoint
impl PartialEq for KaskadePoint
Source§fn eq(&self, other: &KaskadePoint) -> bool
fn eq(&self, other: &KaskadePoint) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for KaskadePoint
impl Serialize for KaskadePoint
impl StructuralPartialEq for KaskadePoint
Auto Trait Implementations§
impl Freeze for KaskadePoint
impl RefUnwindSafe for KaskadePoint
impl Send for KaskadePoint
impl Sync for KaskadePoint
impl Unpin for KaskadePoint
impl UnsafeUnpin for KaskadePoint
impl UnwindSafe for KaskadePoint
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