pub struct ConvertExpression<'a> {
pub convert_span: Span,
pub expr: Expression<'a>,
pub type_: Option<DataType<'a>>,
pub using_charset: Option<(Span, Identifier<'a>)>,
}Expand description
Convert expression (CONVERT(expr, type) or CONVERT(expr USING charset))
Fields§
§convert_span: SpanSpan of “CONVERT”
expr: Expression<'a>Value to convert
type_: Option<DataType<'a>>Type to convert to (for CONVERT(expr, type))
using_charset: Option<(Span, Identifier<'a>)>Charset (for CONVERT(expr USING charset))
Trait Implementations§
Source§impl<'a> Clone for ConvertExpression<'a>
impl<'a> Clone for ConvertExpression<'a>
Source§fn clone(&self) -> ConvertExpression<'a>
fn clone(&self) -> ConvertExpression<'a>
Returns a duplicate 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<'a> Debug for ConvertExpression<'a>
impl<'a> Debug for ConvertExpression<'a>
Auto Trait Implementations§
impl<'a> Freeze for ConvertExpression<'a>
impl<'a> RefUnwindSafe for ConvertExpression<'a>
impl<'a> Send for ConvertExpression<'a>
impl<'a> Sync for ConvertExpression<'a>
impl<'a> Unpin for ConvertExpression<'a>
impl<'a> UnsafeUnpin for ConvertExpression<'a>
impl<'a> UnwindSafe for ConvertExpression<'a>
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