[][src]Struct scheduler::model::Event

pub struct Event {
    pub uuid: String,
    pub offset: TimeUnit,
    pub duration: TimeUnit,
    pub repeat: TimeUnit,
}

An event.

Ex:

Fields

Offset from the start of the owning scheduleable.

Time from start -> start of next event

Methods

impl Event
[src]

Check if this event or any of its repetitions within during contain time.

This event's offset + duration.

Trait Implementations

impl PartialEq<Event> for Event
[src]

This method tests for !=.

impl Clone for Event
[src]

Performs copy-assignment from source. Read more

impl Eq for Event
[src]

impl Debug for Event
[src]

impl Hash for Event
[src]

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

impl Serialize for Event
[src]

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

Auto Trait Implementations

impl Send for Event

impl Sync for Event

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]