pub struct DocumentEdge {
pub from: DocumentAddress,
pub to: DocumentAddress,
pub kind: DocumentEdgeKind,
}Expand description
One resolved edge in source order.
Fields§
§from: DocumentAddressAddress containing the link.
to: DocumentAddressResolved linked address.
kind: DocumentEdgeKindSemantic link family.
Trait Implementations§
Source§impl Clone for DocumentEdge
impl Clone for DocumentEdge
Source§fn clone(&self) -> DocumentEdge
fn clone(&self) -> DocumentEdge
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DocumentEdge
impl Debug for DocumentEdge
Source§impl<'de> Deserialize<'de> for DocumentEdge
impl<'de> Deserialize<'de> for DocumentEdge
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
impl Eq for DocumentEdge
Source§impl JsonSchema for DocumentEdge
impl JsonSchema for DocumentEdge
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for DocumentEdge
impl PartialEq for DocumentEdge
Source§impl Serialize for DocumentEdge
impl Serialize for DocumentEdge
impl StructuralPartialEq for DocumentEdge
Auto Trait Implementations§
impl Freeze for DocumentEdge
impl RefUnwindSafe for DocumentEdge
impl Send for DocumentEdge
impl Sync for DocumentEdge
impl Unpin for DocumentEdge
impl UnsafeUnpin for DocumentEdge
impl UnwindSafe for DocumentEdge
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