pub struct GoogleSheetsOptions {
pub skip_leading_rows: Option<i64>,
pub range: Option<String>,
}Fields§
§skip_leading_rows: Option<i64>Optional. The number of rows at the top of a sheet that BigQuery will skip when reading the data. The default value is 0. This property is useful if you have header rows that should be skipped. When autodetect is on, the behavior is the following:
- skipLeadingRows unspecified - Autodetect tries to detect headers in the first row. If they are not detected, the row is read as data. Otherwise data is read starting from the second row.
- skipLeadingRows is 0 - Instructs autodetect that there are no headers and data should be read starting from the first row.
- skipLeadingRows = N > 0 - Autodetect skips N-1 rows and tries to detect headers in row N. If headers are not detected, row N is just skipped. Otherwise row N is used to extract column names for the detected schema.
range: Option<String>Optional. Range of a sheet to query from. Only used when non-empty. Typical format: sheet_name!top_left_cell_id:bottom_right_cell_id For example: sheet1!A1:B20
Trait Implementations§
Source§impl Clone for GoogleSheetsOptions
impl Clone for GoogleSheetsOptions
Source§fn clone(&self) -> GoogleSheetsOptions
fn clone(&self) -> GoogleSheetsOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GoogleSheetsOptions
impl Debug for GoogleSheetsOptions
Source§impl Default for GoogleSheetsOptions
impl Default for GoogleSheetsOptions
Source§fn default() -> GoogleSheetsOptions
fn default() -> GoogleSheetsOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GoogleSheetsOptions
impl<'de> Deserialize<'de> for GoogleSheetsOptions
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for GoogleSheetsOptions
impl PartialEq for GoogleSheetsOptions
Source§impl Serialize for GoogleSheetsOptions
impl Serialize for GoogleSheetsOptions
impl Eq for GoogleSheetsOptions
impl StructuralPartialEq for GoogleSheetsOptions
Auto Trait Implementations§
impl Freeze for GoogleSheetsOptions
impl RefUnwindSafe for GoogleSheetsOptions
impl Send for GoogleSheetsOptions
impl Sync for GoogleSheetsOptions
impl Unpin for GoogleSheetsOptions
impl UnwindSafe for GoogleSheetsOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request