pub struct Generated {
pub expression: Cow<'static, str>,
pub gen_type: GeneratedType,
}Expand description
Generated column configuration (runtime)
Fields§
§expression: Cow<'static, str>SQL expression for generation
gen_type: GeneratedTypeGeneration type: stored or virtual
Implementations§
Trait Implementations§
impl Eq for Generated
impl StructuralPartialEq for Generated
Auto Trait Implementations§
impl Freeze for Generated
impl RefUnwindSafe for Generated
impl Send for Generated
impl Sync for Generated
impl Unpin for Generated
impl UnwindSafe for Generated
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