pub struct BatchGetValuesByDataFilterRequest {
pub date_time_render_option: Option<String>,
pub value_render_option: Option<String>,
pub data_filters: Option<Vec<DataFilter>>,
pub major_dimension: 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§
§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 [DateTimeRenderOption.SERIAL_NUMBER].
value_render_option: Option<String>How values should be represented in the output. The default render option is ValueRenderOption.FORMATTED_VALUE.
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 will be included in the response.
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 will
return [[1,2],[3,4]],
whereas a request that sets majorDimension=COLUMNS will return
[[1,3],[2,4]].
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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