#[non_exhaustive]pub struct Change {
pub relation: String,
pub gained: TupleSet,
pub lost: TupleSet,
}Expand description
What a changing relation gains and loses in one step.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.relation: StringThe relation.
gained: TupleSetThe tuples it gains.
lost: TupleSetThe tuples it loses.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Change
impl Freeze for Changewhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
*const ArcInner<Atoms> is !null: Freeze,
PhantomData<ArcInner<Atoms>>: Freeze,
*const LeafNode<u64, SetValZST> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(u64, SetValZST)>>: Freeze,
impl Move for Change
impl RefUnwindSafe for Change
impl Send for Change
impl Sync for Change
impl Unpin for Change
impl UnsafeUnpin for Changewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const ArcInner<Atoms> is !null: UnsafeUnpin,
PhantomData<ArcInner<Atoms>>: UnsafeUnpin,
*const LeafNode<u64, SetValZST> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(u64, SetValZST)>>: UnsafeUnpin,
impl UnwindSafe for Change
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