#[non_exhaustive]pub struct UpdateResourceInput {
pub organization_id: Option<String>,
pub resource_id: Option<String>,
pub name: Option<String>,
pub booking_options: Option<BookingOptions>,
pub description: Option<String>,
pub type: Option<ResourceType>,
pub hidden_from_global_address_list: Option<bool>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.organization_id: Option<String>
The identifier associated with the organization for which the resource is updated.
resource_id: Option<String>
The identifier of the resource to be updated.
The identifier can accept ResourceId, Resourcename, or email. The following identity formats are available:
-
Resource ID: r-0123456789a0123456789b0123456789
-
Email address: resource@domain.tld
-
Resource name: resource
name: Option<String>
The name of the resource to be updated.
booking_options: Option<BookingOptions>
The resource's booking options to be updated.
description: Option<String>
Updates the resource description.
type: Option<ResourceType>
Updates the resource type.
If enabled, the resource is hidden from the global address list.
Implementations§
source§impl UpdateResourceInput
impl UpdateResourceInput
sourcepub fn organization_id(&self) -> Option<&str>
pub fn organization_id(&self) -> Option<&str>
The identifier associated with the organization for which the resource is updated.
sourcepub fn resource_id(&self) -> Option<&str>
pub fn resource_id(&self) -> Option<&str>
The identifier of the resource to be updated.
The identifier can accept ResourceId, Resourcename, or email. The following identity formats are available:
-
Resource ID: r-0123456789a0123456789b0123456789
-
Email address: resource@domain.tld
-
Resource name: resource
sourcepub fn booking_options(&self) -> Option<&BookingOptions>
pub fn booking_options(&self) -> Option<&BookingOptions>
The resource's booking options to be updated.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
Updates the resource description.
sourcepub fn type(&self) -> Option<&ResourceType>
pub fn type(&self) -> Option<&ResourceType>
Updates the resource type.
If enabled, the resource is hidden from the global address list.
source§impl UpdateResourceInput
impl UpdateResourceInput
sourcepub fn builder() -> UpdateResourceInputBuilder
pub fn builder() -> UpdateResourceInputBuilder
Creates a new builder-style object to manufacture UpdateResourceInput
.
Trait Implementations§
source§impl Clone for UpdateResourceInput
impl Clone for UpdateResourceInput
source§fn clone(&self) -> UpdateResourceInput
fn clone(&self) -> UpdateResourceInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateResourceInput
impl Debug for UpdateResourceInput
source§impl PartialEq<UpdateResourceInput> for UpdateResourceInput
impl PartialEq<UpdateResourceInput> for UpdateResourceInput
source§fn eq(&self, other: &UpdateResourceInput) -> bool
fn eq(&self, other: &UpdateResourceInput) -> bool
self
and other
values to be equal, and is used
by ==
.