pub struct Literal {
pub value: Value,
}Expand description
A literal: a string, an integer, a float, a boolean or NULL.
PHP: Utopia\Query\AST\Literal (value, string|int|float|bool|null).
Fields§
§value: ValueThe value: a scalar or Value::Null.
Implementations§
Trait Implementations§
Source§impl From<Literal> for Expression
impl From<Literal> for Expression
impl StructuralPartialEq for Literal
Auto Trait Implementations§
impl !Freeze for Literal
impl Forget for Literal
impl Move for Literal
impl RefUnwindSafe for Literal
impl Send for Literal
impl Sync for Literal
impl Unpin for Literal
impl UnsafeUnpin for Literal
impl UnwindSafe for Literal
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