pub enum PercolateSource {
Document(Value),
Documents(Vec<Value>),
}Expand description
Values that can be percolated
Variants§
Trait Implementations§
Source§impl Clone for PercolateSource
impl Clone for PercolateSource
Source§fn clone(&self) -> PercolateSource
fn clone(&self) -> PercolateSource
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PercolateSource
impl Debug for PercolateSource
Source§impl<'de> Deserialize<'de> for PercolateSource
impl<'de> Deserialize<'de> for PercolateSource
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 Eq for PercolateSource
Source§impl PartialEq for PercolateSource
impl PartialEq for PercolateSource
Source§fn eq(&self, other: &PercolateSource) -> bool
fn eq(&self, other: &PercolateSource) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PercolateSource
impl Serialize for PercolateSource
Source§impl ShouldSkip for PercolateSource
impl ShouldSkip for PercolateSource
Source§fn should_skip(&self) -> bool
fn should_skip(&self) -> bool
Whether a query or a query value can be skipped
Source§fn should_keep(&self) -> bool
fn should_keep(&self) -> bool
Inverse of the condition
impl StructuralPartialEq for PercolateSource
Auto Trait Implementations§
impl Freeze for PercolateSource
impl RefUnwindSafe for PercolateSource
impl Send for PercolateSource
impl Sync for PercolateSource
impl Unpin for PercolateSource
impl UnsafeUnpin for PercolateSource
impl UnwindSafe for PercolateSource
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