pub enum ComputedKind {
Stored,
Virtual,
}Expand description
Whether a computed column is physically stored or computed on every read.
Variants§
Stored
Column value persisted on disk (PostgreSQL, MySQL, SQLite).
Virtual
Column value computed on read, not stored (MySQL and SQLite only).
Trait Implementations§
Source§impl Clone for ComputedKind
impl Clone for ComputedKind
Source§fn clone(&self) -> ComputedKind
fn clone(&self) -> ComputedKind
Returns a duplicate 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 ComputedKind
impl Debug for ComputedKind
Source§impl PartialEq for ComputedKind
impl PartialEq for ComputedKind
impl Copy for ComputedKind
impl Eq for ComputedKind
impl StructuralPartialEq for ComputedKind
Auto Trait Implementations§
impl Freeze for ComputedKind
impl RefUnwindSafe for ComputedKind
impl Send for ComputedKind
impl Sync for ComputedKind
impl Unpin for ComputedKind
impl UnsafeUnpin for ComputedKind
impl UnwindSafe for ComputedKind
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