pub struct RouteInfo {
pub route_name: String,
pub link_type: String,
pub direction: LinkDirection,
pub connected_to: String,
pub description: Option<String>,
}Expand description
Information about a route available for an entity
Fields§
§route_name: StringThe route name (e.g., “cars-owned”)
link_type: StringThe type of link (e.g., “owner”)
direction: LinkDirectionDirection of the relationship
connected_to: StringThe entity type this route connects to
description: Option<String>Optional description
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RouteInfo
impl RefUnwindSafe for RouteInfo
impl Send for RouteInfo
impl Sync for RouteInfo
impl Unpin for RouteInfo
impl UnwindSafe for RouteInfo
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