pub struct BatchGetValuesByDataFilterRequest {
pub data_filters: Option<Vec<DataFilter>>,
pub date_time_render_option: Option<String>,
pub major_dimension: Option<String>,
pub value_render_option: Option<String>,
}
Expand description
The request for retrieving a range of values in a spreadsheet selected by a set of DataFilters.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
Fields§
§data_filters: Option<Vec<DataFilter>>
The data filters used to match the ranges of values to retrieve. Ranges that match any of the specified data filters are included in the response.
date_time_render_option: Option<String>
How dates, times, and durations should be represented in the output. This is ignored if value_render_option is FORMATTED_VALUE. The default dateTime render option is SERIAL_NUMBER.
major_dimension: Option<String>
The major dimension that results should use. For example, if the spreadsheet data is: A1=1,B1=2,A2=3,B2=4
, then a request that selects that range and sets majorDimension=ROWS
returns [[1,2],[3,4]]
, whereas a request that sets majorDimension=COLUMNS
returns [[1,3],[2,4]]
.
value_render_option: Option<String>
How values should be represented in the output. The default render option is FORMATTED_VALUE.
Trait Implementations§
Source§impl Clone for BatchGetValuesByDataFilterRequest
impl Clone for BatchGetValuesByDataFilterRequest
Source§fn clone(&self) -> BatchGetValuesByDataFilterRequest
fn clone(&self) -> BatchGetValuesByDataFilterRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Default for BatchGetValuesByDataFilterRequest
impl Default for BatchGetValuesByDataFilterRequest
Source§fn default() -> BatchGetValuesByDataFilterRequest
fn default() -> BatchGetValuesByDataFilterRequest
Source§impl<'de> Deserialize<'de> for BatchGetValuesByDataFilterRequest
impl<'de> Deserialize<'de> for BatchGetValuesByDataFilterRequest
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>,
impl RequestValue for BatchGetValuesByDataFilterRequest
Auto Trait Implementations§
impl Freeze for BatchGetValuesByDataFilterRequest
impl RefUnwindSafe for BatchGetValuesByDataFilterRequest
impl Send for BatchGetValuesByDataFilterRequest
impl Sync for BatchGetValuesByDataFilterRequest
impl Unpin for BatchGetValuesByDataFilterRequest
impl UnwindSafe for BatchGetValuesByDataFilterRequest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more