pub struct Link {
pub id: Id128,
pub namespace: String,
pub source: Id128,
pub target: Id128,
pub relation: EdgeRelation,
pub properties: BTreeMap<String, PropertyValue>,
pub weight: f64,
pub created_at: Timestamp,
pub updated_at: Timestamp,
pub deleted_at: Option<Timestamp>,
}Expand description
A directed, typed edge between two entities (or cross-substrate nodes).
Fields§
§id: Id128§namespace: String§source: Id128§target: Id128§relation: EdgeRelation§properties: BTreeMap<String, PropertyValue>§weight: f64§created_at: Timestamp§updated_at: Timestamp§deleted_at: Option<Timestamp>Trait Implementations§
Auto Trait Implementations§
impl Freeze for Link
impl RefUnwindSafe for Link
impl Send for Link
impl Sync for Link
impl Unpin for Link
impl UnsafeUnpin for Link
impl UnwindSafe for Link
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