pub enum MaybeValue {
VariableChain(VariableChain),
TemplatePart(TemplatePart),
Placeholder(Placeholder),
}Variants§
Implementations§
Source§impl MaybeValue
impl MaybeValue
Trait Implementations§
Source§impl Clone for MaybeValue
impl Clone for MaybeValue
Source§fn clone(&self) -> MaybeValue
fn clone(&self) -> MaybeValue
Returns a copy 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 Debug for MaybeValue
impl Debug for MaybeValue
Source§impl From<MaybeValue> for BoolValue
impl From<MaybeValue> for BoolValue
Source§fn from(val: MaybeValue) -> Self
fn from(val: MaybeValue) -> Self
Converts to this type from the input type.
Source§impl From<MaybeValue> for NumberValue
impl From<MaybeValue> for NumberValue
Source§fn from(maybe: MaybeValue) -> Self
fn from(maybe: MaybeValue) -> Self
Converts to this type from the input type.
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 PartialEq for MaybeValue
impl PartialEq for MaybeValue
Source§impl ToSqlSegment for MaybeValue
impl ToSqlSegment for MaybeValue
fn gen_sql_segment(&self) -> SqlSegment
fn gen_sql_segments(&self) -> Vec<SqlSegment>
impl StructuralPartialEq for MaybeValue
Auto Trait Implementations§
impl Freeze for MaybeValue
impl RefUnwindSafe for MaybeValue
impl Send for MaybeValue
impl Sync for MaybeValue
impl Unpin for MaybeValue
impl UnwindSafe for MaybeValue
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