Enum semilattice_database::Record
source · [−]pub enum Record<'a> {
New {
collection_id: i32,
activity: Activity,
term_begin: UpdateTerm,
term_end: UpdateTerm,
fields: Vec<KeyValue<'a>>,
depends: UpdateDepends<'a>,
pends: Vec<(&'a str, Vec<Record<'a>>)>,
},
Update {
collection_id: i32,
row: u32,
activity: Activity,
term_begin: UpdateTerm,
term_end: UpdateTerm,
fields: Vec<KeyValue<'a>>,
depends: UpdateDepends<'a>,
pends: Vec<(&'a str, Vec<Record<'a>>)>,
},
Delete {
collection_id: i32,
row: u32,
},
}Variants
New
Fields
collection_id: i32activity: Activityterm_begin: UpdateTermterm_end: UpdateTermdepends: UpdateDepends<'a>Update
Fields
collection_id: i32row: u32activity: Activityterm_begin: UpdateTermterm_end: UpdateTermdepends: UpdateDepends<'a>Delete
Auto Trait Implementations
impl<'a> RefUnwindSafe for Record<'a>
impl<'a> Send for Record<'a>
impl<'a> Sync for Record<'a>
impl<'a> Unpin for Record<'a>
impl<'a> UnwindSafe for Record<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more