pub enum Object {
Query(Box<Query>),
Nulls(NullsPosition),
Row {
class: String,
fields: Array,
},
}Expand description
An object among a query’s values.
Variants§
Query(Box<Query>)
A nested query (the children of and, or, having, joins).
PHP: Utopia\Query\Query.
Nulls(NullsPosition)
The NULLS FIRST / NULLS LAST of an order query.
PHP: Utopia\Query\NullsPosition.
Row
A row read through array access, such as a document used as a cursor: its class and its fields.
PHP: an object implementing ArrayAccess (ArrayObject, Utopia\Database\Document).
Trait Implementations§
Source§impl From<NullsPosition> for Object
impl From<NullsPosition> for Object
Source§fn from(nulls: NullsPosition) -> Self
fn from(nulls: NullsPosition) -> Self
The enum case as an object value.
impl StructuralPartialEq for Object
Auto Trait Implementations§
impl Forget for Object
impl Freeze for Object
impl Move for Object
impl RefUnwindSafe for Objectwhere
Atomic<usize>: RefUnwindSafe,
Atomic<*mut ()>: RefUnwindSafe,
OnceLock<Index>: RefUnwindSafe,
Atomic<u8>: RefUnwindSafe,
impl Send for Object
impl Sync for Object
impl Unpin for Object
impl UnsafeUnpin for Objectwhere
*const Query is !null: UnsafeUnpin,
PhantomData<Query>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const ArcInner<Repr<Object>> is !null: UnsafeUnpin,
PhantomData<ArcInner<Repr<Object>>>: UnsafeUnpin,
impl UnwindSafe for Object
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