Struct google_sheets4::api::DataSource[][src]

pub struct DataSource {
    pub calculated_columns: Option<Vec<DataSourceColumn>>,
    pub data_source_id: Option<String>,
    pub sheet_id: Option<i32>,
    pub spec: Option<DataSourceSpec>,
}

Information about an external data source in the spreadsheet.

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

Fields

calculated_columns: Option<Vec<DataSourceColumn>>

All calculated columns in the data source.

data_source_id: Option<String>

The spreadsheet-scoped unique ID that identifies the data source. Example: 1080547365.

sheet_id: Option<i32>

The ID of the Sheet connected with the data source. The field cannot be changed once set. When creating a data source, an associated DATA_SOURCE sheet is also created, if the field is not specified, the ID of the created sheet will be randomly generated.

spec: Option<DataSourceSpec>

The DataSourceSpec for the data source connected with this spreadsheet.

Trait Implementations

impl Clone for DataSource[src]

impl Debug for DataSource[src]

impl Default for DataSource[src]

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

impl Part for DataSource[src]

impl Serialize for DataSource[src]

Auto Trait Implementations

impl RefUnwindSafe for DataSource[src]

impl Send for DataSource[src]

impl Sync for DataSource[src]

impl Unpin for DataSource[src]

impl UnwindSafe for DataSource[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.