pub struct CreatedRelationship {
pub content: Relationship,
pub canonical: Vec<u8>,
pub id: String,
}Expand description
A created relationship: validated content, canonical bytes, id.
Grounding (backing evidence for trust-relevant types) is NOT checked here —
that is topology validation in proof-graph. This function only binds bytes to id.
Fields§
§content: Relationship§canonical: Vec<u8>§id: StringTrait Implementations§
Source§impl Clone for CreatedRelationship
impl Clone for CreatedRelationship
Auto Trait Implementations§
impl Freeze for CreatedRelationship
impl RefUnwindSafe for CreatedRelationship
impl Send for CreatedRelationship
impl Sync for CreatedRelationship
impl Unpin for CreatedRelationship
impl UnsafeUnpin for CreatedRelationship
impl UnwindSafe for CreatedRelationship
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