pub struct OrderRelationEdge {
pub api_name: &'static str,
pub hop: RelationHop,
pub target: &'static OrderCatalog,
}Expand description
One to-one relation edge out of a model. target points at the
related model’s own catalog so resolve_order_target can keep
walking further segments; to-many relations are never represented
here (mirroring the codegen’s existing to-one-only walk), so a key
that names one simply fails to resolve.
Fields§
§api_name: &'static str§hop: RelationHop§target: &'static OrderCatalogAuto Trait Implementations§
impl Freeze for OrderRelationEdge
impl RefUnwindSafe for OrderRelationEdge
impl Send for OrderRelationEdge
impl Sync for OrderRelationEdge
impl Unpin for OrderRelationEdge
impl UnsafeUnpin for OrderRelationEdge
impl UnwindSafe for OrderRelationEdge
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