[][src]Struct gcp_client::google::cloud::gaming::v1beta::Schedule

pub struct Schedule {
    pub start_time: Option<Timestamp>,
    pub end_time: Option<Timestamp>,
    pub cron_job_duration: Option<Duration>,
    pub cron_spec: String,
}

The schedule of a recurring or one time event. The event's time span is specified by start_time and end_time. If the scheduled event's timespan is larger than the cron_spec + cron_job_duration, the event will be recurring. If only cron_spec + cron_job_duration are specified, the event is effective starting at the local time specified by cron_spec, and is recurring.

start_time|-------[cron job]-------[cron job]-------[cron job]---|end_time cron job: cron spec start time + duration

Fields

start_time: Option<Timestamp>

The start time of the event.

end_time: Option<Timestamp>

The end time of the event.

cron_job_duration: Option<Duration>

The duration for the cron job event. The duration of the event is effective after the cron job's start time.

cron_spec: String

The cron definition of the scheduled event. See https://en.wikipedia.org/wiki/Cron. Cron spec specifies the local time as defined by the Realm.

Trait Implementations

impl Clone for Schedule[src]

impl Debug for Schedule[src]

impl Default for Schedule[src]

impl Message for Schedule[src]

impl PartialEq<Schedule> for Schedule[src]

impl StructuralPartialEq for Schedule[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

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

impl<T> IntoRequest<T> for T[src]

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

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

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

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]