pub enum TextValue {
Value(Text),
Maybe(MaybeValue),
}Variants§
Value(Text)
Maybe(MaybeValue)
Implementations§
Trait Implementations§
Source§impl From<MaybeValue> for TextValue
impl From<MaybeValue> for TextValue
Source§fn from(v: MaybeValue) -> Self
fn from(v: MaybeValue) -> Self
Converts to this type from the input type.
Source§impl ToSqlSegment for TextValue
impl ToSqlSegment for TextValue
fn gen_sql_segment(&self) -> SqlSegment
fn gen_sql_segments(&self) -> Vec<SqlSegment>
impl StructuralPartialEq for TextValue
Auto Trait Implementations§
impl Freeze for TextValue
impl RefUnwindSafe for TextValue
impl Send for TextValue
impl Sync for TextValue
impl Unpin for TextValue
impl UnwindSafe for TextValue
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