#[non_exhaustive]pub struct CreateCollectionOptions<'a> {
pub on_behalf_of_info: Option<&'a OnBehalfOfInfo>,
pub bucket_name: &'a str,
pub scope_name: &'a str,
pub collection_name: &'a str,
pub max_ttl: Option<i32>,
pub history_enabled: Option<bool>,
}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.on_behalf_of_info: Option<&'a OnBehalfOfInfo>§bucket_name: &'a str§scope_name: &'a str§collection_name: &'a str§max_ttl: Option<i32>§history_enabled: Option<bool>Trait Implementations§
Source§impl<'a> Clone for CreateCollectionOptions<'a>
impl<'a> Clone for CreateCollectionOptions<'a>
Source§fn clone(&self) -> CreateCollectionOptions<'a>
fn clone(&self) -> CreateCollectionOptions<'a>
Returns a duplicate 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<'a> Debug for CreateCollectionOptions<'a>
impl<'a> Debug for CreateCollectionOptions<'a>
Source§impl<'a> From<&CreateCollectionOptions<'a>> for CreateCollectionOptions<'a>
impl<'a> From<&CreateCollectionOptions<'a>> for CreateCollectionOptions<'a>
Source§fn from(opts: &CreateCollectionOptions<'a>) -> Self
fn from(opts: &CreateCollectionOptions<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a> PartialEq for CreateCollectionOptions<'a>
impl<'a> PartialEq for CreateCollectionOptions<'a>
impl<'a> Eq for CreateCollectionOptions<'a>
impl<'a> StructuralPartialEq for CreateCollectionOptions<'a>
Auto Trait Implementations§
impl<'a> Freeze for CreateCollectionOptions<'a>
impl<'a> RefUnwindSafe for CreateCollectionOptions<'a>
impl<'a> Send for CreateCollectionOptions<'a>
impl<'a> Sync for CreateCollectionOptions<'a>
impl<'a> Unpin for CreateCollectionOptions<'a>
impl<'a> UnsafeUnpin for CreateCollectionOptions<'a>
impl<'a> UnwindSafe for CreateCollectionOptions<'a>
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