#[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 for UpdateResourceInput
impl PartialEq 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 ==
.impl StructuralPartialEq for UpdateResourceInput
Auto Trait Implementations§
impl Freeze for UpdateResourceInput
impl RefUnwindSafe for UpdateResourceInput
impl Send for UpdateResourceInput
impl Sync for UpdateResourceInput
impl Unpin for UpdateResourceInput
impl UnwindSafe for UpdateResourceInput
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> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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