pub struct UpdateCellsRequest {
pub fields: Option<FieldMask>,
pub range: Option<GridRange>,
pub rows: Option<Vec<RowData>>,
pub start: Option<GridCoordinate>,
}
Expand description
Updates all cells in a range with new data.
This type is not used in any activity, and only used as part of another schema.
Fields§
§fields: Option<FieldMask>
The fields of CellData that should be updated. At least one field must be specified. The root is the CellData; ‘row.values.’ should not be specified. A single "*"
can be used as short-hand for listing every field.
range: Option<GridRange>
The range to write data to. If the data in rows does not cover the entire requested range, the fields matching those set in fields will be cleared.
rows: Option<Vec<RowData>>
The data to write.
start: Option<GridCoordinate>
The coordinate to start writing data at. Any number of rows and columns (including a different number of columns per row) may be written.
Trait Implementations§
Source§impl Clone for UpdateCellsRequest
impl Clone for UpdateCellsRequest
Source§fn clone(&self) -> UpdateCellsRequest
fn clone(&self) -> UpdateCellsRequest
Returns a copy 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 UpdateCellsRequest
impl Debug for UpdateCellsRequest
Source§impl Default for UpdateCellsRequest
impl Default for UpdateCellsRequest
Source§fn default() -> UpdateCellsRequest
fn default() -> UpdateCellsRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateCellsRequest
impl<'de> Deserialize<'de> for UpdateCellsRequest
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 Serialize for UpdateCellsRequest
impl Serialize for UpdateCellsRequest
impl Part for UpdateCellsRequest
Auto Trait Implementations§
impl Freeze for UpdateCellsRequest
impl RefUnwindSafe for UpdateCellsRequest
impl Send for UpdateCellsRequest
impl Sync for UpdateCellsRequest
impl Unpin for UpdateCellsRequest
impl UnwindSafe for UpdateCellsRequest
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<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>
Converts
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>
Converts
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