pub struct TimeSeriesReference {
pub scale_factor: f64,
pub uid: TimeSeriesReferenceUid,
}Expand description
structure to hold a reference (possibly, to be scaled) to a time series
JSON schema
{
"description": "structure to hold a reference (possibly, to be scaled) to a time series",
"type": "object",
"required": [
"scale_factor",
"uid"
],
"properties": {
"scale_factor": {
"description": "[-] scale factor to be applied to the pointed-to time series to obtain this field's values",
"type": "number"
},
"uid": {
"description": "uid of time series (in time_series_data) this reference points to",
"anyOf": [
{
"type": "integer",
"minimum": 0.0
},
{
"type": "string"
}
]
}
}
}Fields§
§scale_factor: f64§uid: TimeSeriesReferenceUiduid of time series (in time_series_data) this reference points to
Implementations§
Source§impl TimeSeriesReference
impl TimeSeriesReference
pub fn builder() -> TimeSeriesReference
Trait Implementations§
Source§impl Clone for TimeSeriesReference
impl Clone for TimeSeriesReference
Source§fn clone(&self) -> TimeSeriesReference
fn clone(&self) -> TimeSeriesReference
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TimeSeriesReference
impl Debug for TimeSeriesReference
Source§impl<'de> Deserialize<'de> for TimeSeriesReference
impl<'de> Deserialize<'de> for TimeSeriesReference
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 From<&TimeSeriesReference> for TimeSeriesReference
impl From<&TimeSeriesReference> for TimeSeriesReference
Source§fn from(value: &TimeSeriesReference) -> Self
fn from(value: &TimeSeriesReference) -> Self
Converts to this type from the input type.
Source§impl From<TimeSeriesReference> for CtmNetworkAcLineItemCmUbA
impl From<TimeSeriesReference> for CtmNetworkAcLineItemCmUbA
Source§fn from(value: TimeSeriesReference) -> Self
fn from(value: TimeSeriesReference) -> Self
Converts to this type from the input type.
Source§impl From<TimeSeriesReference> for CtmNetworkAcLineItemCmUbB
impl From<TimeSeriesReference> for CtmNetworkAcLineItemCmUbB
Source§fn from(value: TimeSeriesReference) -> Self
fn from(value: TimeSeriesReference) -> Self
Converts to this type from the input type.
Source§impl From<TimeSeriesReference> for CtmNetworkAcLineItemCmUbC
impl From<TimeSeriesReference> for CtmNetworkAcLineItemCmUbC
Source§fn from(value: TimeSeriesReference) -> Self
fn from(value: TimeSeriesReference) -> Self
Converts to this type from the input type.
Source§impl From<TimeSeriesReference> for CtmNetworkAcLineItemSmUbA
impl From<TimeSeriesReference> for CtmNetworkAcLineItemSmUbA
Source§fn from(value: TimeSeriesReference) -> Self
fn from(value: TimeSeriesReference) -> Self
Converts to this type from the input type.
Source§impl From<TimeSeriesReference> for CtmNetworkAcLineItemSmUbB
impl From<TimeSeriesReference> for CtmNetworkAcLineItemSmUbB
Source§fn from(value: TimeSeriesReference) -> Self
fn from(value: TimeSeriesReference) -> Self
Converts to this type from the input type.
Source§impl From<TimeSeriesReference> for CtmNetworkAcLineItemSmUbC
impl From<TimeSeriesReference> for CtmNetworkAcLineItemSmUbC
Source§fn from(value: TimeSeriesReference) -> Self
fn from(value: TimeSeriesReference) -> Self
Converts to this type from the input type.
Source§impl From<TimeSeriesReference> for CtmNetworkBusItemType
impl From<TimeSeriesReference> for CtmNetworkBusItemType
Source§fn from(value: TimeSeriesReference) -> Self
fn from(value: TimeSeriesReference) -> Self
Converts to this type from the input type.
Source§impl From<TimeSeriesReference> for CtmNetworkBusItemVmLb
impl From<TimeSeriesReference> for CtmNetworkBusItemVmLb
Source§fn from(value: TimeSeriesReference) -> Self
fn from(value: TimeSeriesReference) -> Self
Converts to this type from the input type.
Source§impl From<TimeSeriesReference> for CtmNetworkBusItemVmUb
impl From<TimeSeriesReference> for CtmNetworkBusItemVmUb
Source§fn from(value: TimeSeriesReference) -> Self
fn from(value: TimeSeriesReference) -> Self
Converts to this type from the input type.
Source§impl From<TimeSeriesReference> for CtmNetworkGenItemCostPgParameters
impl From<TimeSeriesReference> for CtmNetworkGenItemCostPgParameters
Source§fn from(value: TimeSeriesReference) -> Self
fn from(value: TimeSeriesReference) -> Self
Converts to this type from the input type.
Source§impl From<TimeSeriesReference> for CtmNetworkGenItemPgLb
impl From<TimeSeriesReference> for CtmNetworkGenItemPgLb
Source§fn from(value: TimeSeriesReference) -> Self
fn from(value: TimeSeriesReference) -> Self
Converts to this type from the input type.
Source§impl From<TimeSeriesReference> for CtmNetworkGenItemPgUb
impl From<TimeSeriesReference> for CtmNetworkGenItemPgUb
Source§fn from(value: TimeSeriesReference) -> Self
fn from(value: TimeSeriesReference) -> Self
Converts to this type from the input type.
Source§impl From<TimeSeriesReference> for CtmNetworkGenItemQgLb
impl From<TimeSeriesReference> for CtmNetworkGenItemQgLb
Source§fn from(value: TimeSeriesReference) -> Self
fn from(value: TimeSeriesReference) -> Self
Converts to this type from the input type.
Source§impl From<TimeSeriesReference> for CtmNetworkGenItemQgUb
impl From<TimeSeriesReference> for CtmNetworkGenItemQgUb
Source§fn from(value: TimeSeriesReference) -> Self
fn from(value: TimeSeriesReference) -> Self
Converts to this type from the input type.
Source§impl From<TimeSeriesReference> for CtmNetworkGenItemServiceRequired
impl From<TimeSeriesReference> for CtmNetworkGenItemServiceRequired
Source§fn from(value: TimeSeriesReference) -> Self
fn from(value: TimeSeriesReference) -> Self
Converts to this type from the input type.
Source§impl From<TimeSeriesReference> for CtmNetworkGenItemShutdownCost
impl From<TimeSeriesReference> for CtmNetworkGenItemShutdownCost
Source§fn from(value: TimeSeriesReference) -> Self
fn from(value: TimeSeriesReference) -> Self
Converts to this type from the input type.
Source§impl From<TimeSeriesReference> for CtmNetworkGenItemStartupCostCold
impl From<TimeSeriesReference> for CtmNetworkGenItemStartupCostCold
Source§fn from(value: TimeSeriesReference) -> Self
fn from(value: TimeSeriesReference) -> Self
Converts to this type from the input type.
Source§impl From<TimeSeriesReference> for CtmNetworkGenItemStartupCostHot
impl From<TimeSeriesReference> for CtmNetworkGenItemStartupCostHot
Source§fn from(value: TimeSeriesReference) -> Self
fn from(value: TimeSeriesReference) -> Self
Converts to this type from the input type.
Source§impl From<TimeSeriesReference> for CtmNetworkGenItemStartupCostWarm
impl From<TimeSeriesReference> for CtmNetworkGenItemStartupCostWarm
Source§fn from(value: TimeSeriesReference) -> Self
fn from(value: TimeSeriesReference) -> Self
Converts to this type from the input type.
Source§impl From<TimeSeriesReference> for CtmNetworkGenItemVmSetpoint
impl From<TimeSeriesReference> for CtmNetworkGenItemVmSetpoint
Source§fn from(value: TimeSeriesReference) -> Self
fn from(value: TimeSeriesReference) -> Self
Converts to this type from the input type.
Source§impl From<TimeSeriesReference> for CtmNetworkHvdcP2pItemCmUbFr
impl From<TimeSeriesReference> for CtmNetworkHvdcP2pItemCmUbFr
Source§fn from(value: TimeSeriesReference) -> Self
fn from(value: TimeSeriesReference) -> Self
Converts to this type from the input type.
Source§impl From<TimeSeriesReference> for CtmNetworkHvdcP2pItemCmUbTo
impl From<TimeSeriesReference> for CtmNetworkHvdcP2pItemCmUbTo
Source§fn from(value: TimeSeriesReference) -> Self
fn from(value: TimeSeriesReference) -> Self
Converts to this type from the input type.
Source§impl From<TimeSeriesReference> for CtmNetworkHvdcP2pItemPdcFrLb
impl From<TimeSeriesReference> for CtmNetworkHvdcP2pItemPdcFrLb
Source§fn from(value: TimeSeriesReference) -> Self
fn from(value: TimeSeriesReference) -> Self
Converts to this type from the input type.
Source§impl From<TimeSeriesReference> for CtmNetworkHvdcP2pItemPdcFrUb
impl From<TimeSeriesReference> for CtmNetworkHvdcP2pItemPdcFrUb
Source§fn from(value: TimeSeriesReference) -> Self
fn from(value: TimeSeriesReference) -> Self
Converts to this type from the input type.
Source§impl From<TimeSeriesReference> for CtmNetworkHvdcP2pItemPdcToLb
impl From<TimeSeriesReference> for CtmNetworkHvdcP2pItemPdcToLb
Source§fn from(value: TimeSeriesReference) -> Self
fn from(value: TimeSeriesReference) -> Self
Converts to this type from the input type.
Source§impl From<TimeSeriesReference> for CtmNetworkHvdcP2pItemPdcToUb
impl From<TimeSeriesReference> for CtmNetworkHvdcP2pItemPdcToUb
Source§fn from(value: TimeSeriesReference) -> Self
fn from(value: TimeSeriesReference) -> Self
Converts to this type from the input type.
Source§impl From<TimeSeriesReference> for CtmNetworkHvdcP2pItemQdcFrLb
impl From<TimeSeriesReference> for CtmNetworkHvdcP2pItemQdcFrLb
Source§fn from(value: TimeSeriesReference) -> Self
fn from(value: TimeSeriesReference) -> Self
Converts to this type from the input type.
Source§impl From<TimeSeriesReference> for CtmNetworkHvdcP2pItemQdcFrUb
impl From<TimeSeriesReference> for CtmNetworkHvdcP2pItemQdcFrUb
Source§fn from(value: TimeSeriesReference) -> Self
fn from(value: TimeSeriesReference) -> Self
Converts to this type from the input type.
Source§impl From<TimeSeriesReference> for CtmNetworkHvdcP2pItemQdcToLb
impl From<TimeSeriesReference> for CtmNetworkHvdcP2pItemQdcToLb
Source§fn from(value: TimeSeriesReference) -> Self
fn from(value: TimeSeriesReference) -> Self
Converts to this type from the input type.
Source§impl From<TimeSeriesReference> for CtmNetworkHvdcP2pItemQdcToUb
impl From<TimeSeriesReference> for CtmNetworkHvdcP2pItemQdcToUb
Source§fn from(value: TimeSeriesReference) -> Self
fn from(value: TimeSeriesReference) -> Self
Converts to this type from the input type.
Source§impl From<TimeSeriesReference> for CtmNetworkHvdcP2pItemSmUb
impl From<TimeSeriesReference> for CtmNetworkHvdcP2pItemSmUb
Source§fn from(value: TimeSeriesReference) -> Self
fn from(value: TimeSeriesReference) -> Self
Converts to this type from the input type.
Source§impl From<TimeSeriesReference> for CtmNetworkLoadItemPd
impl From<TimeSeriesReference> for CtmNetworkLoadItemPd
Source§fn from(value: TimeSeriesReference) -> Self
fn from(value: TimeSeriesReference) -> Self
Converts to this type from the input type.
Source§impl From<TimeSeriesReference> for CtmNetworkLoadItemPdI
impl From<TimeSeriesReference> for CtmNetworkLoadItemPdI
Source§fn from(value: TimeSeriesReference) -> Self
fn from(value: TimeSeriesReference) -> Self
Converts to this type from the input type.
Source§impl From<TimeSeriesReference> for CtmNetworkLoadItemPdY
impl From<TimeSeriesReference> for CtmNetworkLoadItemPdY
Source§fn from(value: TimeSeriesReference) -> Self
fn from(value: TimeSeriesReference) -> Self
Converts to this type from the input type.
Source§impl From<TimeSeriesReference> for CtmNetworkLoadItemQd
impl From<TimeSeriesReference> for CtmNetworkLoadItemQd
Source§fn from(value: TimeSeriesReference) -> Self
fn from(value: TimeSeriesReference) -> Self
Converts to this type from the input type.
Source§impl From<TimeSeriesReference> for CtmNetworkLoadItemQdI
impl From<TimeSeriesReference> for CtmNetworkLoadItemQdI
Source§fn from(value: TimeSeriesReference) -> Self
fn from(value: TimeSeriesReference) -> Self
Converts to this type from the input type.
Source§impl From<TimeSeriesReference> for CtmNetworkLoadItemQdY
impl From<TimeSeriesReference> for CtmNetworkLoadItemQdY
Source§fn from(value: TimeSeriesReference) -> Self
fn from(value: TimeSeriesReference) -> Self
Converts to this type from the input type.
Source§impl From<TimeSeriesReference> for CtmNetworkReserveItemPgDown
impl From<TimeSeriesReference> for CtmNetworkReserveItemPgDown
Source§fn from(value: TimeSeriesReference) -> Self
fn from(value: TimeSeriesReference) -> Self
Converts to this type from the input type.
Source§impl From<TimeSeriesReference> for CtmNetworkReserveItemPgUp
impl From<TimeSeriesReference> for CtmNetworkReserveItemPgUp
Source§fn from(value: TimeSeriesReference) -> Self
fn from(value: TimeSeriesReference) -> Self
Converts to this type from the input type.
Source§impl From<TimeSeriesReference> for CtmNetworkStorageItemChargeEfficiency
impl From<TimeSeriesReference> for CtmNetworkStorageItemChargeEfficiency
Source§fn from(value: TimeSeriesReference) -> Self
fn from(value: TimeSeriesReference) -> Self
Converts to this type from the input type.
Source§impl From<TimeSeriesReference> for CtmNetworkStorageItemChargeUb
impl From<TimeSeriesReference> for CtmNetworkStorageItemChargeUb
Source§fn from(value: TimeSeriesReference) -> Self
fn from(value: TimeSeriesReference) -> Self
Converts to this type from the input type.
Source§impl From<TimeSeriesReference> for CtmNetworkStorageItemDischargeEfficiency
impl From<TimeSeriesReference> for CtmNetworkStorageItemDischargeEfficiency
Source§fn from(value: TimeSeriesReference) -> Self
fn from(value: TimeSeriesReference) -> Self
Converts to this type from the input type.
Source§impl From<TimeSeriesReference> for CtmNetworkStorageItemDischargeUb
impl From<TimeSeriesReference> for CtmNetworkStorageItemDischargeUb
Source§fn from(value: TimeSeriesReference) -> Self
fn from(value: TimeSeriesReference) -> Self
Converts to this type from the input type.
Source§impl From<TimeSeriesReference> for CtmNetworkStorageItemQsLb
impl From<TimeSeriesReference> for CtmNetworkStorageItemQsLb
Source§fn from(value: TimeSeriesReference) -> Self
fn from(value: TimeSeriesReference) -> Self
Converts to this type from the input type.
Source§impl From<TimeSeriesReference> for CtmNetworkStorageItemQsUb
impl From<TimeSeriesReference> for CtmNetworkStorageItemQsUb
Source§fn from(value: TimeSeriesReference) -> Self
fn from(value: TimeSeriesReference) -> Self
Converts to this type from the input type.
Source§impl From<TimeSeriesReference> for CtmNetworkTransformerItemCmUbA
impl From<TimeSeriesReference> for CtmNetworkTransformerItemCmUbA
Source§fn from(value: TimeSeriesReference) -> Self
fn from(value: TimeSeriesReference) -> Self
Converts to this type from the input type.
Source§impl From<TimeSeriesReference> for CtmNetworkTransformerItemCmUbB
impl From<TimeSeriesReference> for CtmNetworkTransformerItemCmUbB
Source§fn from(value: TimeSeriesReference) -> Self
fn from(value: TimeSeriesReference) -> Self
Converts to this type from the input type.
Source§impl From<TimeSeriesReference> for CtmNetworkTransformerItemCmUbC
impl From<TimeSeriesReference> for CtmNetworkTransformerItemCmUbC
Source§fn from(value: TimeSeriesReference) -> Self
fn from(value: TimeSeriesReference) -> Self
Converts to this type from the input type.
Source§impl From<TimeSeriesReference> for CtmNetworkTransformerItemSmUbA
impl From<TimeSeriesReference> for CtmNetworkTransformerItemSmUbA
Source§fn from(value: TimeSeriesReference) -> Self
fn from(value: TimeSeriesReference) -> Self
Converts to this type from the input type.
Source§impl From<TimeSeriesReference> for CtmNetworkTransformerItemSmUbB
impl From<TimeSeriesReference> for CtmNetworkTransformerItemSmUbB
Source§fn from(value: TimeSeriesReference) -> Self
fn from(value: TimeSeriesReference) -> Self
Converts to this type from the input type.
Source§impl From<TimeSeriesReference> for CtmNetworkTransformerItemSmUbC
impl From<TimeSeriesReference> for CtmNetworkTransformerItemSmUbC
Source§fn from(value: TimeSeriesReference) -> Self
fn from(value: TimeSeriesReference) -> Self
Converts to this type from the input type.
Source§impl From<TimeSeriesReference> for TimeSeriesReference
impl From<TimeSeriesReference> for TimeSeriesReference
Source§fn from(value: TimeSeriesReference) -> Self
fn from(value: TimeSeriesReference) -> Self
Converts to this type from the input type.
Source§impl Serialize for TimeSeriesReference
impl Serialize for TimeSeriesReference
Source§impl TryFrom<TimeSeriesReference> for TimeSeriesReference
impl TryFrom<TimeSeriesReference> for TimeSeriesReference
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: TimeSeriesReference) -> Result<Self, ConversionError>
fn try_from(value: TimeSeriesReference) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for TimeSeriesReference
impl RefUnwindSafe for TimeSeriesReference
impl Send for TimeSeriesReference
impl Sync for TimeSeriesReference
impl Unpin for TimeSeriesReference
impl UnwindSafe for TimeSeriesReference
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)