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 Cast
impl Move for Cast
impl RefUnwindSafe for Cast
impl Send for Cast
impl Sync for Cast
impl Unpin for Cast
impl UnsafeUnpin for Cast
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