pub struct GeneratedValue { /* private fields */ }Expand description
A generated expression and the columns it reads.
Implementations§
Source§impl GeneratedValue
impl GeneratedValue
Sourcepub fn new(
expression: Datum,
depends_on: impl IntoIterator<Item = ColumnName>,
) -> Self
pub fn new( expression: Datum, depends_on: impl IntoIterator<Item = ColumnName>, ) -> Self
Creates an expression with ordered dependency names.
Trait Implementations§
Source§impl Clone for GeneratedValue
impl Clone for GeneratedValue
Source§fn clone(&self) -> GeneratedValue
fn clone(&self) -> GeneratedValue
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GeneratedValue
impl Debug for GeneratedValue
impl Eq for GeneratedValue
Source§impl PartialEq for GeneratedValue
impl PartialEq for GeneratedValue
impl StructuralPartialEq for GeneratedValue
Auto Trait Implementations§
impl Freeze for GeneratedValue
impl RefUnwindSafe for GeneratedValue
impl Send for GeneratedValue
impl Sync for GeneratedValue
impl Unpin for GeneratedValue
impl UnsafeUnpin for GeneratedValue
impl UnwindSafe for GeneratedValue
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