pub enum Refresh {
True,
False,
WaitFor,
}
Expand description
If true
then refresh the affected shards to make this operation visible to search, if wait_for
then wait for a refresh to make this operation visible to search, if false
(the default) then do nothing with refreshes.
Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Refresh
impl<'de> Deserialize<'de> for Refresh
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Copy for Refresh
impl StructuralPartialEq for Refresh
Auto Trait Implementations§
impl Freeze for Refresh
impl RefUnwindSafe for Refresh
impl Send for Refresh
impl Sync for Refresh
impl Unpin for Refresh
impl UnwindSafe for Refresh
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