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>,
}
Expand description

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.