Enum barrel::types::WrappedDefault
source · pub enum WrappedDefault<'outer> {
}
Variants§
AnyText(&'outer str)
Any text information
Integer(i64)
Simple integer
Float(f32)
Floating point number
Double(f64)
Like Float but ~ ~ d o u b l e p r e c i s i o n ~ ~
UUID(String)
A unique identifier type
Boolean(bool)
True or False
Date(SystemTime)
Date And Time
Binary(&'outer [u8])
Foreign(Box<Type>)
Foreign key to other table
Custom(&'static str)
Array(Vec<Type>)
Any of the above, but many of them
Function(AutogenFunction)
A function to call
Null
Nothing
Trait Implementations§
source§impl<'outer> Clone for WrappedDefault<'outer>
impl<'outer> Clone for WrappedDefault<'outer>
source§fn clone(&self) -> WrappedDefault<'outer>
fn clone(&self) -> WrappedDefault<'outer>
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<'outer> Debug for WrappedDefault<'outer>
impl<'outer> Debug for WrappedDefault<'outer>
source§impl<'outer> Display for WrappedDefault<'outer>
impl<'outer> Display for WrappedDefault<'outer>
source§impl From<&'static str> for WrappedDefault<'static>
impl From<&'static str> for WrappedDefault<'static>
source§impl From<AutogenFunction> for WrappedDefault<'static>
impl From<AutogenFunction> for WrappedDefault<'static>
source§fn from(fun: AutogenFunction) -> Self
fn from(fun: AutogenFunction) -> Self
Converts to this type from the input type.
source§impl From<SystemTime> for WrappedDefault<'static>
impl From<SystemTime> for WrappedDefault<'static>
source§fn from(s: SystemTime) -> Self
fn from(s: SystemTime) -> Self
Converts to this type from the input type.
source§impl From<bool> for WrappedDefault<'static>
impl From<bool> for WrappedDefault<'static>
source§impl From<f32> for WrappedDefault<'static>
impl From<f32> for WrappedDefault<'static>
source§impl From<f64> for WrappedDefault<'static>
impl From<f64> for WrappedDefault<'static>
source§impl From<i64> for WrappedDefault<'static>
impl From<i64> for WrappedDefault<'static>
source§impl<'outer> PartialEq for WrappedDefault<'outer>
impl<'outer> PartialEq for WrappedDefault<'outer>
source§fn eq(&self, other: &WrappedDefault<'outer>) -> bool
fn eq(&self, other: &WrappedDefault<'outer>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<'outer> StructuralPartialEq for WrappedDefault<'outer>
Auto Trait Implementations§
impl<'outer> RefUnwindSafe for WrappedDefault<'outer>
impl<'outer> Send for WrappedDefault<'outer>
impl<'outer> Sync for WrappedDefault<'outer>
impl<'outer> Unpin for WrappedDefault<'outer>
impl<'outer> UnwindSafe for WrappedDefault<'outer>
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