#[non_exhaustive]pub struct UpdateResourceInput {
pub organization_id: Option<String>,
pub resource_id: Option<String>,
pub name: Option<String>,
pub booking_options: Option<BookingOptions>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
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.
name: Option<String>
The name of the resource to be updated.
booking_options: Option<BookingOptions>
The resource's booking options to be updated.
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.
sourcepub fn booking_options(&self) -> Option<&BookingOptions>
pub fn booking_options(&self) -> Option<&BookingOptions>
The resource's booking options to be updated.
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
Returns a copy of the value. Read more
1.0.0 · 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 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
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateResourceInput
Auto Trait Implementations§
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
Mutably borrows from an owned value. Read more