pub struct CopiedEntity {
pub original: u64,
pub copy: u64,
pub type_name: String,
}Expand description
One original and its copy (or the target entity reused for it).
Fields§
§original: u64The original’s id: in this model for a copy, in the source for an append.
copy: u64The copy’s id.
type_name: StringIts type, upper case.
Trait Implementations§
Source§impl Clone for CopiedEntity
impl Clone for CopiedEntity
Source§fn clone(&self) -> CopiedEntity
fn clone(&self) -> CopiedEntity
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 CopiedEntity
impl Debug for CopiedEntity
impl Eq for CopiedEntity
Source§impl PartialEq for CopiedEntity
impl PartialEq for CopiedEntity
impl StructuralPartialEq for CopiedEntity
Auto Trait Implementations§
impl Freeze for CopiedEntity
impl RefUnwindSafe for CopiedEntity
impl Send for CopiedEntity
impl Sync for CopiedEntity
impl Unpin for CopiedEntity
impl UnsafeUnpin for CopiedEntity
impl UnwindSafe for CopiedEntity
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.