pub struct BytesFilter {
pub equals: Option<Vec<u8>>,
pub not: Option<Box<BytesFilter>>,
pub in_list: Option<Vec<Vec<u8>>>,
pub not_in: Option<Vec<Vec<u8>>>,
pub lt: Option<Vec<u8>>,
pub lte: Option<Vec<u8>>,
pub gt: Option<Vec<u8>>,
pub gte: Option<Vec<u8>>,
}Expand description
Filter for non-nullable Bytes (Vec<u8>) columns.
Encoded as a base64-of-bytes string in FilterValue::String. The driver layer decodes back to bytes on the wire.
Fields§
§equals: Option<Vec<u8>>column = value
not: Option<Box<BytesFilter>>Negation.
in_list: Option<Vec<Vec<u8>>>column IN (...)
not_in: Option<Vec<Vec<u8>>>column NOT IN (...)
lt: Option<Vec<u8>>column < value
lte: Option<Vec<u8>>column <= value
gt: Option<Vec<u8>>column > value
gte: Option<Vec<u8>>column >= value
Implementations§
Source§impl BytesFilter
impl BytesFilter
Trait Implementations§
Source§impl Clone for BytesFilter
impl Clone for BytesFilter
Source§fn clone(&self) -> BytesFilter
fn clone(&self) -> BytesFilter
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 BytesFilter
impl Debug for BytesFilter
Source§impl Default for BytesFilter
impl Default for BytesFilter
Source§fn default() -> BytesFilter
fn default() -> BytesFilter
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BytesFilter
impl<'de> Deserialize<'de> for BytesFilter
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 PartialEq for BytesFilter
impl PartialEq for BytesFilter
Source§fn eq(&self, other: &BytesFilter) -> bool
fn eq(&self, other: &BytesFilter) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl ScalarFilter for BytesFilter
impl ScalarFilter for BytesFilter
Source§impl Serialize for BytesFilter
impl Serialize for BytesFilter
impl StructuralPartialEq for BytesFilter
Auto Trait Implementations§
impl Freeze for BytesFilter
impl RefUnwindSafe for BytesFilter
impl Send for BytesFilter
impl Sync for BytesFilter
impl Unpin for BytesFilter
impl UnsafeUnpin for BytesFilter
impl UnwindSafe for BytesFilter
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