pub struct CalendarResource {
pub id: ResourceId,
pub email: String,
pub name: String,
pub resource_type: ResourceType,
pub building: Option<String>,
pub floor: Option<String>,
pub capacity: Option<i32>,
pub features: Vec<String>,
pub description: Option<String>,
}Expand description
Organizational resource (conference room, equipment, etc.)
Fields§
§id: ResourceIdUnique identifier for the resource
email: StringResource email address
name: StringResource name
resource_type: ResourceTypeResource type
building: Option<String>Building name
floor: Option<String>Floor number
capacity: Option<i32>Capacity (number of people)
features: Vec<String>Features available (projector, whiteboard, etc.)
description: Option<String>Resource description
Trait Implementations§
Source§impl Clone for CalendarResource
impl Clone for CalendarResource
Source§fn clone(&self) -> CalendarResource
fn clone(&self) -> CalendarResource
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CalendarResource
impl Debug for CalendarResource
Source§impl<'de> Deserialize<'de> for CalendarResource
impl<'de> Deserialize<'de> for CalendarResource
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
Source§impl PartialEq for CalendarResource
impl PartialEq for CalendarResource
Source§fn eq(&self, other: &CalendarResource) -> bool
fn eq(&self, other: &CalendarResource) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CalendarResource
impl Serialize for CalendarResource
impl StructuralPartialEq 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 UnsafeUnpin 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
Mutably borrows from an owned value. Read more