pub enum ProposalChangeset {
AddEdge {
source: Id128,
target: Id128,
relation: EdgeRelation,
weight: Option<f32>,
},
MergeEntities {
into: Id128,
from: Id128,
},
SupersedeEntity {
old: Id128,
new: Id128,
},
Compound {
steps: Vec<ProposalChangeset>,
},
}Variants§
Trait Implementations§
Source§impl Clone for ProposalChangeset
impl Clone for ProposalChangeset
Source§fn clone(&self) -> ProposalChangeset
fn clone(&self) -> ProposalChangeset
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 ProposalChangeset
impl Debug for ProposalChangeset
Source§impl PartialEq for ProposalChangeset
impl PartialEq for ProposalChangeset
Source§fn eq(&self, other: &ProposalChangeset) -> bool
fn eq(&self, other: &ProposalChangeset) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ProposalChangeset
Auto Trait Implementations§
impl Freeze for ProposalChangeset
impl RefUnwindSafe for ProposalChangeset
impl Send for ProposalChangeset
impl Sync for ProposalChangeset
impl Unpin for ProposalChangeset
impl UnsafeUnpin for ProposalChangeset
impl UnwindSafe for ProposalChangeset
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