Struct sheets::types::ProtectedRange
source · pub struct ProtectedRange {
pub description: String,
pub editors: Option<Editors>,
pub named_range_id: String,
pub protected_range_id: i64,
pub range: Option<GridRange>,
pub requesting_user_can_edit: bool,
pub unprotected_ranges: Vec<GridRange>,
pub warning_only: bool,
}
Expand description
A protected range.
Fields
description: String
A protected range.
editors: Option<Editors>
A protected range.
named_range_id: String
A protected range.
protected_range_id: i64
A protected range.
range: Option<GridRange>
A protected range.
requesting_user_can_edit: bool
A protected range.
unprotected_ranges: Vec<GridRange>
A protected range.
warning_only: bool
A protected range.
Trait Implementations
sourceimpl Clone for ProtectedRange
impl Clone for ProtectedRange
sourcefn clone(&self) -> ProtectedRange
fn clone(&self) -> ProtectedRange
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ProtectedRange
impl Debug for ProtectedRange
sourceimpl<'de> Deserialize<'de> for ProtectedRange
impl<'de> Deserialize<'de> for ProtectedRange
sourcefn 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
sourceimpl JsonSchema for ProtectedRange
impl JsonSchema for ProtectedRange
sourcefn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
sourcefn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
sourcefn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moresourceimpl PartialEq<ProtectedRange> for ProtectedRange
impl PartialEq<ProtectedRange> for ProtectedRange
sourcefn eq(&self, other: &ProtectedRange) -> bool
fn eq(&self, other: &ProtectedRange) -> bool
sourceimpl Serialize for ProtectedRange
impl Serialize for ProtectedRange
impl StructuralPartialEq for ProtectedRange
Auto Trait Implementations
impl RefUnwindSafe for ProtectedRange
impl Send for ProtectedRange
impl Sync for ProtectedRange
impl Unpin for ProtectedRange
impl UnwindSafe for ProtectedRange
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more