Struct google_mirror1::api::Setting
source · pub struct Setting {
pub id: Option<String>,
pub kind: Option<String>,
pub value: Option<String>,
}
Expand description
A setting for Glass.
§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).
- get settings (response)
Fields§
§id: Option<String>
The setting’s ID. The following IDs are valid:
- locale - The key to the user’s language/locale (BCP 47 identifier) that Glassware should use to render localized content.
- timezone - The key to the user’s current time zone region as defined in the tz database. Example: America/Los_Angeles.
kind: Option<String>
The type of resource. This is always mirror#setting.
value: Option<String>
The setting value, as a string.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Setting
impl<'de> Deserialize<'de> for Setting
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
impl Resource for Setting
impl ResponseResult for Setting
Auto Trait Implementations§
impl RefUnwindSafe for Setting
impl Send for Setting
impl Sync for Setting
impl Unpin for Setting
impl UnwindSafe for Setting
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