pub struct DeveloperMetadata {
pub location: Option<DeveloperMetadataLocation>,
pub metadata_id: Option<i32>,
pub metadata_key: Option<String>,
pub metadata_value: Option<String>,
pub visibility: Option<String>,
}
Expand description
Developer metadata associated with a location or object in a spreadsheet. Developer metadata may be used to associate arbitrary data with various parts of a spreadsheet and will remain associated at those locations as they move around and the spreadsheet is edited. For example, if developer metadata is associated with row 5 and another row is then subsequently inserted above row 5, that original metadata will still be associated with the row it was first associated with (what is now row 6). If the associated object is deleted its metadata is deleted too.
§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).
- developer metadata get spreadsheets (response)
Fields§
§location: Option<DeveloperMetadataLocation>
The location where the metadata is associated.
metadata_id: Option<i32>
The spreadsheet-scoped unique ID that identifies the metadata. IDs may be specified when metadata is created, otherwise one will be randomly generated and assigned. Must be positive.
metadata_key: Option<String>
The metadata key. There may be multiple metadata in a spreadsheet with the same key. Developer metadata must always have a key specified.
metadata_value: Option<String>
Data associated with the metadata’s key.
visibility: Option<String>
The metadata visibility. Developer metadata must always have a visibility specified.
Trait Implementations§
Source§impl Clone for DeveloperMetadata
impl Clone for DeveloperMetadata
Source§fn clone(&self) -> DeveloperMetadata
fn clone(&self) -> DeveloperMetadata
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for DeveloperMetadata
impl Debug for DeveloperMetadata
Source§impl Default for DeveloperMetadata
impl Default for DeveloperMetadata
Source§fn default() -> DeveloperMetadata
fn default() -> DeveloperMetadata
Source§impl<'de> Deserialize<'de> for DeveloperMetadata
impl<'de> Deserialize<'de> for DeveloperMetadata
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>,
Source§impl Serialize for DeveloperMetadata
impl Serialize for DeveloperMetadata
impl ResponseResult for DeveloperMetadata
Auto Trait Implementations§
impl Freeze for DeveloperMetadata
impl RefUnwindSafe for DeveloperMetadata
impl Send for DeveloperMetadata
impl Sync for DeveloperMetadata
impl Unpin for DeveloperMetadata
impl UnwindSafe for DeveloperMetadata
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