pub struct MarketData {
pub document_mrid: Option<String>,
pub document_type: Option<String>,
pub sender: Option<MarketParticipant>,
pub receiver: Option<MarketParticipant>,
pub participants: Vec<MarketParticipant>,
pub time_series: Vec<MarketTimeSeries>,
pub energy_schedules: Vec<EnergySchedule>,
pub bid_offers: Vec<BidOffer>,
pub transmission_allocations: Vec<TransmissionAllocation>,
}Expand description
Complete market data container parsed from IEC 62325 ESMP XML.
Fields§
§document_mrid: Option<String>§document_type: Option<String>§sender: Option<MarketParticipant>§receiver: Option<MarketParticipant>§participants: Vec<MarketParticipant>§time_series: Vec<MarketTimeSeries>§energy_schedules: Vec<EnergySchedule>§bid_offers: Vec<BidOffer>§transmission_allocations: Vec<TransmissionAllocation>Implementations§
Trait Implementations§
Source§impl Clone for MarketData
impl Clone for MarketData
Source§fn clone(&self) -> MarketData
fn clone(&self) -> MarketData
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 MarketData
impl Debug for MarketData
Source§impl Default for MarketData
impl Default for MarketData
Source§fn default() -> MarketData
fn default() -> MarketData
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MarketData
impl<'de> Deserialize<'de> for MarketData
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 MarketData
impl RefUnwindSafe for MarketData
impl Send for MarketData
impl Sync for MarketData
impl Unpin for MarketData
impl UnsafeUnpin for MarketData
impl UnwindSafe for MarketData
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