Enum psl::datamodel_connector::StringFilter
source · #[repr(u8)]pub enum StringFilter {
Contains = 1,
StartsWith = 2,
EndsWith = 4,
}
Expand description
Available filters for a given String
scalar field.
Variants§
Contains = 1
String contains another string.
StartsWith = 2
String starts with another string.
EndsWith = 4
String ends with another string.
Implementations§
Trait Implementations§
source§impl BitAnd for StringFilter
impl BitAnd for StringFilter
§type Output = BitFlags<StringFilter>
type Output = BitFlags<StringFilter>
The resulting type after applying the
&
operator.source§fn bitand(self, other: StringFilter) -> <StringFilter as BitAnd>::Output
fn bitand(self, other: StringFilter) -> <StringFilter as BitAnd>::Output
Performs the
&
operation. Read moresource§impl BitFlag for StringFilter
impl BitFlag for StringFilter
source§impl BitOr for StringFilter
impl BitOr for StringFilter
§type Output = BitFlags<StringFilter>
type Output = BitFlags<StringFilter>
The resulting type after applying the
|
operator.source§fn bitor(self, other: StringFilter) -> <StringFilter as BitOr>::Output
fn bitor(self, other: StringFilter) -> <StringFilter as BitOr>::Output
Performs the
|
operation. Read moresource§impl BitXor for StringFilter
impl BitXor for StringFilter
§type Output = BitFlags<StringFilter>
type Output = BitFlags<StringFilter>
The resulting type after applying the
^
operator.source§fn bitxor(self, other: StringFilter) -> <StringFilter as BitXor>::Output
fn bitxor(self, other: StringFilter) -> <StringFilter as BitXor>::Output
Performs the
^
operation. Read moresource§impl Clone for StringFilter
impl Clone for StringFilter
source§fn clone(&self) -> StringFilter
fn clone(&self) -> StringFilter
Returns a copy 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 StringFilter
impl Debug for StringFilter
source§impl Not for StringFilter
impl Not for StringFilter
impl Copy for StringFilter
Auto Trait Implementations§
impl RefUnwindSafe for StringFilter
impl Send for StringFilter
impl Sync for StringFilter
impl Unpin for StringFilter
impl UnwindSafe for StringFilter
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