pub struct FilterResult {
pub match: bool,
}Expand description
Result of a search filter evaluation.
Fields§
§match: booltrue if the kafka record matched the search filter condition, false otherwise.
Implementations§
Trait Implementations§
Source§impl Clone for FilterResult
impl Clone for FilterResult
Source§fn clone(&self) -> FilterResult
fn clone(&self) -> FilterResult
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 FilterResult
impl Debug for FilterResult
Source§impl Default for FilterResult
impl Default for FilterResult
Source§fn default() -> FilterResult
fn default() -> FilterResult
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FilterResult
impl<'de> Deserialize<'de> for FilterResult
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
Source§impl From<bool> for FilterResult
impl From<bool> for FilterResult
Source§impl PartialEq for FilterResult
impl PartialEq for FilterResult
Source§impl Serialize for FilterResult
impl Serialize for FilterResult
impl StructuralPartialEq for FilterResult
Auto Trait Implementations§
impl Freeze for FilterResult
impl RefUnwindSafe for FilterResult
impl Send for FilterResult
impl Sync for FilterResult
impl Unpin for FilterResult
impl UnwindSafe for FilterResult
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