Enum barrel::functions::AutogenFunction
source · pub enum AutogenFunction {
CurrentTimestamp,
}
Expand description
Functions to generate default values
Variants§
CurrentTimestamp
Gives the current timestamp
Trait Implementations§
source§impl Clone for AutogenFunction
impl Clone for AutogenFunction
source§fn clone(&self) -> AutogenFunction
fn clone(&self) -> AutogenFunction
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 AutogenFunction
impl Debug for AutogenFunction
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 PartialEq for AutogenFunction
impl PartialEq for AutogenFunction
source§fn eq(&self, other: &AutogenFunction) -> bool
fn eq(&self, other: &AutogenFunction) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AutogenFunction
Auto Trait Implementations§
impl RefUnwindSafe for AutogenFunction
impl Send for AutogenFunction
impl Sync for AutogenFunction
impl Unpin for AutogenFunction
impl UnwindSafe for AutogenFunction
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