[][src]Struct gcp_client::google::cloud::osconfig::v1::RecurringSchedule

pub struct RecurringSchedule {
    pub time_zone: Option<TimeZone>,
    pub start_time: Option<Timestamp>,
    pub end_time: Option<Timestamp>,
    pub time_of_day: Option<TimeOfDay>,
    pub frequency: i32,
    pub last_execute_time: Option<Timestamp>,
    pub next_execute_time: Option<Timestamp>,
    pub schedule_config: Option<ScheduleConfig>,
}

Sets the time for recurring patch deployments.

Fields

time_zone: Option<TimeZone>

Required. Defines the time zone that time_of_day is relative to. The rules for daylight saving time are determined by the chosen time zone.

start_time: Option<Timestamp>

Optional. The time that the recurring schedule becomes effective. Defaults to create_time of the patch deployment.

end_time: Option<Timestamp>

Optional. The end time at which a recurring patch deployment schedule is no longer active.

time_of_day: Option<TimeOfDay>

Required. Time of the day to run a recurring deployment.

frequency: i32

Required. The frequency unit of this recurring schedule.

last_execute_time: Option<Timestamp>

Output only. The time the last patch job ran successfully.

next_execute_time: Option<Timestamp>

Output only. The time the next patch job is scheduled to run.

schedule_config: Option<ScheduleConfig>

Configurations for this recurring schedule. Configurations must match frequency.

Implementations

impl RecurringSchedule[src]

pub fn frequency(&self) -> Frequency[src]

Returns the enum value of frequency, or the default if the field is set to an invalid enum value.

pub fn set_frequency(&mut self, value: Frequency)[src]

Sets frequency to the provided enum value.

Trait Implementations

impl Clone for RecurringSchedule[src]

impl Debug for RecurringSchedule[src]

impl Default for RecurringSchedule[src]

impl Message for RecurringSchedule[src]

impl PartialEq<RecurringSchedule> for RecurringSchedule[src]

impl StructuralPartialEq for RecurringSchedule[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]