pub struct RegularIntervalSchedule {
pub base: BasicIntervalSchedule,
pub end_time: String,
pub time_step: Option<f64>,
}Expand description
The schedule has time points where the time between them is constant.
Fields§
§base: BasicIntervalSchedule§end_time: StringThe time for the last time point. The value can be a time of day, not a specific date.
time_step: Option<f64>The time between each pair of subsequent regular time points in sequence order.
Implementations§
Source§impl RegularIntervalSchedule
impl RegularIntervalSchedule
pub fn from_block(b: &RdfBlock) -> Self
Trait Implementations§
Source§impl CimElement for RegularIntervalSchedule
impl CimElement for RegularIntervalSchedule
Source§impl Clone for RegularIntervalSchedule
impl Clone for RegularIntervalSchedule
Source§fn clone(&self) -> RegularIntervalSchedule
fn clone(&self) -> RegularIntervalSchedule
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 RegularIntervalSchedule
impl Debug for RegularIntervalSchedule
Source§impl Default for RegularIntervalSchedule
impl Default for RegularIntervalSchedule
Source§fn default() -> RegularIntervalSchedule
fn default() -> RegularIntervalSchedule
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RegularIntervalSchedule
impl<'de> Deserialize<'de> for RegularIntervalSchedule
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 RegularIntervalSchedule
impl RefUnwindSafe for RegularIntervalSchedule
impl Send for RegularIntervalSchedule
impl Sync for RegularIntervalSchedule
impl Unpin for RegularIntervalSchedule
impl UnsafeUnpin for RegularIntervalSchedule
impl UnwindSafe for RegularIntervalSchedule
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