#[non_exhaustive]pub struct IdComparator {
pub eq: Option<String>,
pub neq: Option<String>,
pub in: Option<Vec<String>>,
pub nin: Option<Vec<String>>,
}Expand description
Comparator for ID fields.
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.eq: Option<String>Equals.
neq: Option<String>Not equals.
in: Option<Vec<String>>Value is in the given list.
nin: Option<Vec<String>>Value is not in the given list.
Implementations§
Source§impl IdComparator
impl IdComparator
Sourcepub fn builder() -> IdComparatorBuilder
pub fn builder() -> IdComparatorBuilder
Create an instance of IdComparator using the builder syntax
Trait Implementations§
Source§impl Clone for IdComparator
impl Clone for IdComparator
Source§fn clone(&self) -> IdComparator
fn clone(&self) -> IdComparator
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 IdComparator
impl Debug for IdComparator
Source§impl Default for IdComparator
impl Default for IdComparator
Source§fn default() -> IdComparator
fn default() -> IdComparator
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for IdComparator
impl RefUnwindSafe for IdComparator
impl Send for IdComparator
impl Sync for IdComparator
impl Unpin for IdComparator
impl UnsafeUnpin for IdComparator
impl UnwindSafe for IdComparator
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