Enum ext_php_rs::types::PropertyQuery
source · #[repr(u32)]pub enum PropertyQuery {
Isset = 0,
NotEmpty = 1,
Exists = 2,
}
Expand description
Different ways to query if a property exists.
Variants§
Isset = 0
Property exists and is not NULL.
NotEmpty = 1
Property is not empty.
Exists = 2
Property exists.
Trait Implementations§
source§impl Clone for PropertyQuery
impl Clone for PropertyQuery
source§fn clone(&self) -> PropertyQuery
fn clone(&self) -> PropertyQuery
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 Ord for PropertyQuery
impl Ord for PropertyQuery
source§fn cmp(&self, other: &PropertyQuery) -> Ordering
fn cmp(&self, other: &PropertyQuery) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for PropertyQuery
impl PartialEq for PropertyQuery
source§fn eq(&self, other: &PropertyQuery) -> bool
fn eq(&self, other: &PropertyQuery) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for PropertyQuery
impl PartialOrd for PropertyQuery
source§fn partial_cmp(&self, other: &PropertyQuery) -> Option<Ordering>
fn partial_cmp(&self, other: &PropertyQuery) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for PropertyQuery
impl Eq for PropertyQuery
impl StructuralEq for PropertyQuery
impl StructuralPartialEq for PropertyQuery
Auto Trait Implementations§
impl RefUnwindSafe for PropertyQuery
impl Send for PropertyQuery
impl Sync for PropertyQuery
impl Unpin for PropertyQuery
impl UnwindSafe for PropertyQuery
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