[−][src]Struct gsuite_api::CalendarResource
A calendar resource.
Fields
kind: Option<String>
The type of the resource. For calendar resources, the value is admin#directory#resources#calendars#CalendarResource.
capacity: Option<i32>
Capacity of a resource, number of seats in a room.
typev: Option<String>
The type of the calendar resource, intended for non-room resources.
description: Option<String>
Description of the resource, visible only to admins.
generated_resource_name: Option<String>
The read-only auto-generated name of the calendar resource which includes metadata about the resource such as building name, floor, capacity, etc. For example, "NYC-2-Training Room 1A (16)".
ETag of the resource.
category: Option<String>
The category of the calendar resource. Either CONFERENCE_ROOM or OTHER. Legacy data is set to CATEGORY_UNKNOWN.
email: Option<String>
The read-only email for the calendar resource. Generated as part of creating a new calendar resource.
name: String
The name of the calendar resource. For example, "Training Room 1A".
feature_instances: Option<Vec<CalendarFeatures>>
floor_section: Option<String>
Name of the section within a floor a resource is located in.
id: String
The unique ID for the calendar resource.
building_id: Option<String>
Unique ID for the building a resource is located in.
floor_name: Option<String>
Name of the floor a resource is located on.
user_visible_description: Option<String>
Description of the resource, visible to users and admins.
Implementations
impl CalendarResource
[src]
pub fn update(self, resource: &ResourceConfig, id: &str) -> CalendarResource
[src]
Update a calendar resource.
Trait Implementations
impl Clone for CalendarResource
[src]
fn clone(&self) -> CalendarResource
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for CalendarResource
[src]
impl Default for CalendarResource
[src]
fn default() -> CalendarResource
[src]
impl<'de> Deserialize<'de> for CalendarResource
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Serialize for CalendarResource
[src]
Auto Trait Implementations
impl RefUnwindSafe for CalendarResource
impl Send for CalendarResource
impl Sync for CalendarResource
impl Unpin for CalendarResource
impl UnwindSafe for CalendarResource
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,