pub struct EntityMerge {
pub id: String,
pub loser: EntityId,
pub winner: EntityId,
pub decided_by: MergeDecision,
pub provenance: String,
pub evidence: Vec<MentionId>,
pub decided_at: Timestamp,
pub undone_at: Option<Timestamp>,
}Fields§
§id: String§loser: EntityId§winner: EntityId§decided_by: MergeDecision§provenance: String§evidence: Vec<MentionId>§decided_at: Timestamp§undone_at: Option<Timestamp>Trait Implementations§
Source§impl Clone for EntityMerge
impl Clone for EntityMerge
Source§fn clone(&self) -> EntityMerge
fn clone(&self) -> EntityMerge
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 EntityMerge
impl Debug for EntityMerge
Source§impl<'de> Deserialize<'de> for EntityMerge
impl<'de> Deserialize<'de> for EntityMerge
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for EntityMerge
impl RefUnwindSafe for EntityMerge
impl Send for EntityMerge
impl Sync for EntityMerge
impl Unpin for EntityMerge
impl UnsafeUnpin for EntityMerge
impl UnwindSafe for EntityMerge
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