pub struct MergeReceipt {
pub source_id: i64,
pub target_id: i64,
pub source_name: Option<String>,
pub source_user_named: bool,
pub face_ids: Vec<i64>,
pub target_took_name: bool,
}Expand description
Face database repository What a merge changed, so it can be undone.
Fields§
§source_id: i64§target_id: i64§source_name: Option<String>§source_user_named: bool§face_ids: Vec<i64>Faces that moved from the source to the target.
target_took_name: boolThe target was unnamed and took the source’s name.
Trait Implementations§
Source§impl Clone for MergeReceipt
impl Clone for MergeReceipt
Source§impl Debug for MergeReceipt
impl Debug for MergeReceipt
impl Eq for MergeReceipt
Source§impl PartialEq for MergeReceipt
impl PartialEq for MergeReceipt
impl StructuralPartialEq for MergeReceipt
Auto Trait Implementations§
impl Freeze for MergeReceipt
impl RefUnwindSafe for MergeReceipt
impl Send for MergeReceipt
impl Sync for MergeReceipt
impl Unpin for MergeReceipt
impl UnsafeUnpin for MergeReceipt
impl UnwindSafe for MergeReceipt
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
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.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more