pub struct ClaimEdge {
pub edge_id: Uuid,
pub agent_id: AgentId,
pub from_claim: ClaimRef,
pub to_claim: ClaimRef,
pub kind: EdgeKind,
pub created_at: TransactionTime,
}Expand description
A directed edge between two claims.
Fields§
§edge_id: UuidUnique ID for this edge (random UUID, minted at write time).
agent_id: AgentIdThe agent that owns both claims in this edge.
from_claim: ClaimRefThe source claim of the directed edge.
to_claim: ClaimRefThe target claim of the directed edge.
kind: EdgeKindThe semantic relationship this edge represents.
created_at: TransactionTimeWhen this edge was recorded.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ClaimEdge
impl<'de> Deserialize<'de> for ClaimEdge
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
Auto Trait Implementations§
impl Freeze for ClaimEdge
impl RefUnwindSafe for ClaimEdge
impl Send for ClaimEdge
impl Sync for ClaimEdge
impl Unpin for ClaimEdge
impl UnsafeUnpin for ClaimEdge
impl UnwindSafe for ClaimEdge
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