pub struct Cast {
pub expression: Box<Expression>,
pub data_type: String,
}Expand description
CAST(expression AS type) (or PostgreSQL’s expression::type).
PHP: Utopia\Query\AST\Expression\Cast (expression, type).
Fields§
§expression: Box<Expression>The expression.
data_type: StringThe target type.
PHP: $type.
Implementations§
Trait Implementations§
impl StructuralPartialEq for Cast
Auto Trait Implementations§
impl Forget for Cast
impl Freeze for Castwhere
*const Expression is !null: Freeze,
PhantomData<Expression>: Freeze,
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
impl Move for Cast
impl RefUnwindSafe for Castwhere
Atomic<*mut ()>: RefUnwindSafe,
Atomic<usize>: RefUnwindSafe,
OnceLock<Index>: RefUnwindSafe,
Atomic<u8>: RefUnwindSafe,
impl Send for Cast
impl Sync for Cast
impl Unpin for Cast
impl UnsafeUnpin for Castwhere
*const Expression is !null: UnsafeUnpin,
PhantomData<Expression>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
impl UnwindSafe for Cast
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