pub struct SettingsRequest {
pub track_revisions: Option<bool>,
pub update_fields: Option<bool>,
pub protection: Option<Protection>,
}Expand description
The settings one plan operation writes. None on a field leaves the
existing value on the wire; Some(true) adds the element,
Some(false) removes it.
Fields§
§track_revisions: Option<bool>w:trackRevisions: present when true, removed when false.
update_fields: Option<bool>w:updateFields: present when true, removed when false.
protection: Option<Protection>w:documentProtection, replaced whole; edit: none removes it.
Implementations§
Trait Implementations§
Source§impl Clone for SettingsRequest
impl Clone for SettingsRequest
Source§fn clone(&self) -> SettingsRequest
fn clone(&self) -> SettingsRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SettingsRequest
impl Debug for SettingsRequest
Source§impl Default for SettingsRequest
impl Default for SettingsRequest
Source§fn default() -> SettingsRequest
fn default() -> SettingsRequest
Returns the “default value” for a type. Read more
impl Eq for SettingsRequest
Source§impl PartialEq for SettingsRequest
impl PartialEq for SettingsRequest
impl StructuralPartialEq for SettingsRequest
Auto Trait Implementations§
impl Forget for SettingsRequest
impl Freeze for SettingsRequest
impl Move for SettingsRequest
impl RefUnwindSafe for SettingsRequest
impl Send for SettingsRequest
impl Sync for SettingsRequest
impl Unpin for SettingsRequest
impl UnsafeUnpin for SettingsRequest
impl UnwindSafe for SettingsRequest
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.