pub struct CalendarResource {
pub kind: Option<String>,
pub etags: Option<String>,
pub resource_name: Option<String>,
pub resource_email: Option<String>,
pub resource_type: Option<String>,
pub resource_description: Option<String>,
pub resource_id: Option<String>,
}Expand description
JSON template for Calendar Resource object in Directory API.
§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).
- calendars insert resources (request|response)
- calendars get resources (response)
- calendars patch resources (request|response)
- calendars update resources (request|response)
Fields§
§kind: Option<String>The type of the resource. For calendar resources, the value is admin#directory#resources#calendars#CalendarResource.
ETag of the resource.
resource_name: Option<String>The name of the calendar resource. For example, Training Room 1A
resource_email: Option<String>The read-only email ID for the calendar resource. Generated as part of creating a new calendar resource.
resource_type: Option<String>The type of the calendar resource. Used for grouping resources in the calendar user interface.
resource_description: Option<String>The brief description of the calendar resource.
resource_id: Option<String>The unique ID for the calendar resource.
Trait Implementations§
source§impl Clone for CalendarResource
impl Clone for CalendarResource
source§fn clone(&self) -> CalendarResource
fn clone(&self) -> CalendarResource
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CalendarResource
impl Debug for CalendarResource
source§impl Default for CalendarResource
impl Default for CalendarResource
source§fn default() -> CalendarResource
fn default() -> CalendarResource
source§impl Deserialize for CalendarResource
impl Deserialize for CalendarResource
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer,
source§impl Serialize for CalendarResource
impl Serialize for CalendarResource
impl RequestValue for CalendarResource
impl ResponseResult for CalendarResource
Auto Trait Implementations§
impl Freeze for CalendarResource
impl RefUnwindSafe for CalendarResource
impl Send for CalendarResource
impl Sync for CalendarResource
impl Unpin for CalendarResource
impl UnwindSafe for CalendarResource
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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