pub struct MergeEdgePreimage {
pub id: Uuid,
pub namespace: String,
pub source_id: Uuid,
pub target_id: Uuid,
pub relation: String,
pub weight: f64,
pub created_at: i64,
pub updated_at: i64,
pub deleted_at: Option<i64>,
pub target_backend: Option<String>,
pub metadata: Option<Value>,
}Expand description
Complete stored state of an edge removed while resolving a merge conflict.
Timestamps use the storage layer’s microsecond representation. relation
remains a string so a legacy row predating the closed relation enum can
still be captured without making an otherwise valid merge fail.
Fields§
§id: Uuid§namespace: String§source_id: Uuid§target_id: Uuid§relation: String§weight: f64§created_at: i64§updated_at: i64§deleted_at: Option<i64>§target_backend: Option<String>§metadata: Option<Value>Trait Implementations§
Source§impl Clone for MergeEdgePreimage
impl Clone for MergeEdgePreimage
Source§impl Debug for MergeEdgePreimage
impl Debug for MergeEdgePreimage
Source§impl<'de> Deserialize<'de> for MergeEdgePreimage
impl<'de> Deserialize<'de> for MergeEdgePreimage
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
Source§impl PartialEq for MergeEdgePreimage
impl PartialEq for MergeEdgePreimage
Source§impl Serialize for MergeEdgePreimage
impl Serialize for MergeEdgePreimage
impl StructuralPartialEq for MergeEdgePreimage
Auto Trait Implementations§
impl Freeze for MergeEdgePreimage
impl RefUnwindSafe for MergeEdgePreimage
impl Send for MergeEdgePreimage
impl Sync for MergeEdgePreimage
impl Unpin for MergeEdgePreimage
impl UnsafeUnpin for MergeEdgePreimage
impl UnwindSafe for MergeEdgePreimage
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<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> 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