pub struct EdgeRef<'a> {
pub dst: Option<NodeId>,
pub dst_key: UrlKey,
pub dst_url: Option<&'a str>,
pub etype: EdgeType,
pub flags: u8,
pub weight: u16,
}Expand description
One outbound edge as seen from a snapshot.
Fields§
§dst: Option<NodeId>Destination node id in the current base generation, when resolved.
dst_key: UrlKeyDestination durable key (always present).
dst_url: Option<&'a str>Destination canonical URL, when the destination is a known node with a URL label (stubs have none).
etype: EdgeTypeEdge type.
flags: u8Raw edge flags (format::base::eflags).
weight: u16Weight in 1/65535 units.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for EdgeRef<'a>
impl<'a> RefUnwindSafe for EdgeRef<'a>
impl<'a> Send for EdgeRef<'a>
impl<'a> Sync for EdgeRef<'a>
impl<'a> Unpin for EdgeRef<'a>
impl<'a> UnsafeUnpin for EdgeRef<'a>
impl<'a> UnwindSafe for EdgeRef<'a>
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