#[non_exhaustive]pub struct UpdateCollectionOptions {
pub retry_strategy: Option<Arc<dyn RetryStrategy>>,
}Expand description
Options for updating a collection’s settings.
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.retry_strategy: Option<Arc<dyn RetryStrategy>>Retry strategy for the operation.
Implementations§
Source§impl UpdateCollectionOptions
impl UpdateCollectionOptions
Sourcepub fn retry_strategy(self, retry_strategy: Arc<dyn RetryStrategy>) -> Self
pub fn retry_strategy(self, retry_strategy: Arc<dyn RetryStrategy>) -> Self
Sets the retry strategy for the operation.
Trait Implementations§
Source§impl Clone for UpdateCollectionOptions
impl Clone for UpdateCollectionOptions
Source§fn clone(&self) -> UpdateCollectionOptions
fn clone(&self) -> UpdateCollectionOptions
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 Debug for UpdateCollectionOptions
impl Debug for UpdateCollectionOptions
Source§impl Default for UpdateCollectionOptions
impl Default for UpdateCollectionOptions
Source§fn default() -> UpdateCollectionOptions
fn default() -> UpdateCollectionOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for UpdateCollectionOptions
impl !RefUnwindSafe for UpdateCollectionOptions
impl Send for UpdateCollectionOptions
impl Sync for UpdateCollectionOptions
impl Unpin for UpdateCollectionOptions
impl UnsafeUnpin for UpdateCollectionOptions
impl !UnwindSafe for UpdateCollectionOptions
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