Struct google_sheets4::api::DataSourceRefreshSchedule[][src]

pub struct DataSourceRefreshSchedule {
    pub daily_schedule: Option<DataSourceRefreshDailySchedule>,
    pub enabled: Option<bool>,
    pub monthly_schedule: Option<DataSourceRefreshMonthlySchedule>,
    pub next_run: Option<Interval>,
    pub refresh_scope: Option<String>,
    pub weekly_schedule: Option<DataSourceRefreshWeeklySchedule>,
}

Schedule for refreshing the data source. Data sources in the spreadsheet are refreshed within a time interval. You can specify the start time by clicking the Scheduled Refresh button in the Sheets editor, but the interval is fixed at 4 hours. For example, if you specify a start time of 8am , the refresh will take place between 8am and 12pm every day.

This type is not used in any activity, and only used as part of another schema.

Fields

daily_schedule: Option<DataSourceRefreshDailySchedule>

Daily refresh schedule.

enabled: Option<bool>

True if the refresh schedule is enabled, or false otherwise.

monthly_schedule: Option<DataSourceRefreshMonthlySchedule>

Monthly refresh schedule.

next_run: Option<Interval>

Output only. The time interval of the next run.

refresh_scope: Option<String>

The scope of the refresh. Must be ALL_DATA_SOURCES.

weekly_schedule: Option<DataSourceRefreshWeeklySchedule>

Weekly refresh schedule.

Trait Implementations

impl Clone for DataSourceRefreshSchedule[src]

impl Debug for DataSourceRefreshSchedule[src]

impl Default for DataSourceRefreshSchedule[src]

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

impl Part for DataSourceRefreshSchedule[src]

impl Serialize for DataSourceRefreshSchedule[src]

Auto Trait Implementations

impl RefUnwindSafe for DataSourceRefreshSchedule[src]

impl Send for DataSourceRefreshSchedule[src]

impl Sync for DataSourceRefreshSchedule[src]

impl Unpin for DataSourceRefreshSchedule[src]

impl UnwindSafe for DataSourceRefreshSchedule[src]

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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> 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.