[][src]Struct scheduler::model::Scheduleable

pub struct Scheduleable {
    pub uuid: String,
    pub start: TimeUnit,
    pub duration: TimeUnit,
    pub options: Vec<ScheduleableOption>,
}

Something which can be scheduled.

Ex:

Fields

Duration of this scheduleable. This should be at least the difference between the start of this scheduleable and the end of the last event or event repeat.

Methods

impl Scheduleable
[src]

This scheduleables start + duration.

Labels all of the ScheduleableOptions in self.options

Returns true if none of the ScheduleableOptions conflict with themselves.

Trait Implementations

impl PartialEq<Scheduleable> for Scheduleable
[src]

This method tests for !=.

impl Clone for Scheduleable
[src]

Performs copy-assignment from source. Read more

impl Eq for Scheduleable
[src]

impl Debug for Scheduleable
[src]

impl Hash for Scheduleable
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl Serialize for Scheduleable
[src]

impl<'de> Deserialize<'de> for Scheduleable
[src]

Auto Trait Implementations

impl Send for Scheduleable

impl Sync for Scheduleable

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

impl<T> From for T
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]