#[non_exhaustive]pub struct UpdateCollectionInput {
pub id: Option<String>,
pub description: Option<String>,
pub client_token: Option<String>,
}
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.id: Option<String>
The unique identifier of the collection.
description: Option<String>
A description of the collection.
client_token: Option<String>
Unique, case-sensitive identifier to ensure idempotency of the request.
Implementations§
source§impl UpdateCollectionInput
impl UpdateCollectionInput
sourcepub fn builder() -> UpdateCollectionInputBuilder
pub fn builder() -> UpdateCollectionInputBuilder
Creates a new builder-style object to manufacture UpdateCollectionInput
.
Trait Implementations§
source§impl Clone for UpdateCollectionInput
impl Clone for UpdateCollectionInput
source§fn clone(&self) -> UpdateCollectionInput
fn clone(&self) -> UpdateCollectionInput
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 UpdateCollectionInput
impl Debug for UpdateCollectionInput
source§impl PartialEq for UpdateCollectionInput
impl PartialEq for UpdateCollectionInput
source§fn eq(&self, other: &UpdateCollectionInput) -> bool
fn eq(&self, other: &UpdateCollectionInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateCollectionInput
Auto Trait Implementations§
impl RefUnwindSafe for UpdateCollectionInput
impl Send for UpdateCollectionInput
impl Sync for UpdateCollectionInput
impl Unpin for UpdateCollectionInput
impl UnwindSafe for UpdateCollectionInput
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