pub struct EdgeDoc {
pub id: Option<String>,
pub source: String,
pub target: String,
pub handle: Option<String>,
}Expand description
A directed edge. handle selects the branch of the source node (default source).
Fields§
§id: Option<String>§source: String§target: String§handle: Option<String>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for EdgeDoc
impl<'de> Deserialize<'de> for EdgeDoc
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 Forget for EdgeDoc
impl Freeze for EdgeDoc
impl Move for EdgeDoc
impl RefUnwindSafe for EdgeDoc
impl Send for EdgeDoc
impl Sync for EdgeDoc
impl Unpin for EdgeDoc
impl UnsafeUnpin for EdgeDoc
impl UnwindSafe for EdgeDoc
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