pub struct UpdateSheetPropertiesRequest {
pub properties: SheetPropertiesUpdate,
pub fields: String,
}Expand description
UpdateSheetPropertiesRequest.
fields is a field mask and is not optional: an empty mask is an
error, and a mask naming more than we set would blank the unnamed fields.
Every caller but update-sheet-properties (issue #1835) populates
exactly the one SheetPropertiesUpdate field its fields string
names; update-sheet-properties may populate several at once (frozen
rows/columns, hidden gridlines, tab color, right-to-left), and its mask
still names exactly what was populated, field for field.
structure.rs::build_request is the single place that pairs the
properties and the mask, so they can never drift apart.
PartialEq-only, not Eq: SheetPropertiesUpdate embeds
ColorStyle, which wraps Color’s f32 channels.
Fields§
§properties: SheetPropertiesUpdateThe properties to write. sheet_id selects the target.
fields: StringThe field mask limiting what this request may change.
Trait Implementations§
Source§impl Clone for UpdateSheetPropertiesRequest
impl Clone for UpdateSheetPropertiesRequest
Source§impl Debug for UpdateSheetPropertiesRequest
impl Debug for UpdateSheetPropertiesRequest
impl StructuralPartialEq for UpdateSheetPropertiesRequest
Auto Trait Implementations§
impl Freeze for UpdateSheetPropertiesRequest
impl RefUnwindSafe for UpdateSheetPropertiesRequest
impl Send for UpdateSheetPropertiesRequest
impl Sync for UpdateSheetPropertiesRequest
impl Unpin for UpdateSheetPropertiesRequest
impl UnsafeUnpin for UpdateSheetPropertiesRequest
impl UnwindSafe for UpdateSheetPropertiesRequest
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