pub struct UnavailabilityAvailablePeriod {
pub time_interval: UnavailabilityTimeInterval,
pub resolution: String,
pub points: Vec<UnavailabilityPoint>,
}Expand description
The interval-resolved availability curve.
This is the document’s actual payload: start_DateAndOrTime and
end_DateAndOrTime say when the resource is affected, and these points
say how much capacity remains in each interval. A model without them
reduces an unavailability to a date range, and the Ausfallarbeit of
BilAReM Kap. 3.2.2.1 is bounded by exactly this figure — P_bean, „die
beanspruchbare Leistung der TR … die sich aus Subtraktion der
Nichtbeanspruchbarkeit von der installierten Leistung ergibt“.
Fields§
§time_interval: UnavailabilityTimeIntervalInterval the curve covers.
resolution: StringResolution of the points (ISO 8601 duration, e.g. PT15M).
points: Vec<UnavailabilityPoint>The points (at least one).
Trait Implementations§
Source§fn clone(&self) -> UnavailabilityAvailablePeriod
fn clone(&self) -> UnavailabilityAvailablePeriod
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§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§
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