Trait ReservedTimesExtraProperty

Source
pub trait ReservedTimesExtraProperty {
    // Required methods
    fn get_reserved_times(&self) -> Option<Arc<ReservedTimesIndex>>;
    fn set_reserved_times(
        &mut self,
        value: Arc<ReservedTimesIndex>,
    ) -> &mut Self;
}
Expand description

Extends Extras within a new ReservedTimesExtraProperty.

Required Methods§

Source

fn get_reserved_times(&self) -> Option<Arc<ReservedTimesIndex>>

Gets ReservedTimes property as a shared reference.

Source

fn set_reserved_times(&mut self, value: Arc<ReservedTimesIndex>) -> &mut Self

Sets ReservedTimes property using a shared reference.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§