pub struct ColumnValue {
pub column_name: &'static str,
pub value: SqlValue,
}Expand description
Column/value pair produced by insert and update models.
Fields§
§column_name: &'static str§value: SqlValueImplementations§
Source§impl ColumnValue
impl ColumnValue
pub const fn new(column_name: &'static str, value: SqlValue) -> ColumnValue
Trait Implementations§
Source§impl Clone for ColumnValue
impl Clone for ColumnValue
Source§fn clone(&self) -> ColumnValue
fn clone(&self) -> ColumnValue
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 ColumnValue
impl Debug for ColumnValue
Source§impl PartialEq for ColumnValue
impl PartialEq for ColumnValue
Source§fn eq(&self, other: &ColumnValue) -> bool
fn eq(&self, other: &ColumnValue) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ColumnValue
Auto Trait Implementations§
impl Freeze for ColumnValue
impl RefUnwindSafe for ColumnValue
impl Send for ColumnValue
impl Sync for ColumnValue
impl Unpin for ColumnValue
impl UnsafeUnpin for ColumnValue
impl UnwindSafe for ColumnValue
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