pub struct EdgeParticipant {
pub entity_ref: EntityRef,
pub role: Option<String>,
}Expand description
Participant in an edge with optional role. Enables both binary edges (2 participants) and hyperedges (N participants).
Fields§
§entity_ref: EntityRefReference to the entity participating in this edge
role: Option<String>Optional role label (e.g., “source”, “target”, “input”, “output”)
Trait Implementations§
Source§impl Clone for EdgeParticipant
impl Clone for EdgeParticipant
Source§fn clone(&self) -> EdgeParticipant
fn clone(&self) -> EdgeParticipant
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl ComposeSchema for EdgeParticipant
impl ComposeSchema for EdgeParticipant
Source§impl Debug for EdgeParticipant
impl Debug for EdgeParticipant
Source§impl<'de> Deserialize<'de> for EdgeParticipant
impl<'de> Deserialize<'de> for EdgeParticipant
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 EdgeParticipant
impl PartialEq for EdgeParticipant
Source§impl Serialize for EdgeParticipant
impl Serialize for EdgeParticipant
Source§impl ToSchema for EdgeParticipant
impl ToSchema for EdgeParticipant
impl StructuralPartialEq for EdgeParticipant
Auto Trait Implementations§
impl Freeze for EdgeParticipant
impl RefUnwindSafe for EdgeParticipant
impl Send for EdgeParticipant
impl Sync for EdgeParticipant
impl Unpin for EdgeParticipant
impl UnwindSafe for EdgeParticipant
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