#[non_exhaustive]pub struct PauseIngestOptions<'a> {
pub bucket_name: Option<&'a str>,
pub scope_name: Option<&'a str>,
pub index_name: &'a str,
pub on_behalf_of: Option<&'a OnBehalfOfInfo>,
}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.bucket_name: Option<&'a str>§scope_name: Option<&'a str>§index_name: &'a str§on_behalf_of: Option<&'a OnBehalfOfInfo>Implementations§
Source§impl<'a> PauseIngestOptions<'a>
impl<'a> PauseIngestOptions<'a>
pub fn new(index_name: &'a str) -> Self
pub fn bucket_name(self, bucket_name: impl Into<Option<&'a str>>) -> Self
pub fn scope_name(self, scope_name: impl Into<Option<&'a str>>) -> Self
pub fn on_behalf_of( self, on_behalf_of: impl Into<Option<&'a OnBehalfOfInfo>>, ) -> Self
Trait Implementations§
Source§impl<'a> Debug for PauseIngestOptions<'a>
impl<'a> Debug for PauseIngestOptions<'a>
Source§impl<'a> From<&'a PauseIngestOptions<'a>> for PauseIngestOptions<'a>
impl<'a> From<&'a PauseIngestOptions<'a>> for PauseIngestOptions<'a>
Source§fn from(opts: &'a PauseIngestOptions<'a>) -> PauseIngestOptions<'a>
fn from(opts: &'a PauseIngestOptions<'a>) -> PauseIngestOptions<'a>
Converts to this type from the input type.
Auto Trait Implementations§
impl<'a> Freeze for PauseIngestOptions<'a>
impl<'a> RefUnwindSafe for PauseIngestOptions<'a>
impl<'a> Send for PauseIngestOptions<'a>
impl<'a> Sync for PauseIngestOptions<'a>
impl<'a> Unpin for PauseIngestOptions<'a>
impl<'a> UnsafeUnpin for PauseIngestOptions<'a>
impl<'a> UnwindSafe for PauseIngestOptions<'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