pub struct RelationEdgeModel { /* private fields */ }Expand description
RelationEdgeModel
Generated relation-edge proposal metadata. Runtime accepted-schema paths must still reconcile this into persisted catalog authority before execution consumes it.
Implementations§
Source§impl RelationEdgeModel
impl RelationEdgeModel
Sourcepub const fn generated(
name: &'static str,
target_path: &'static str,
local_fields: &'static [&'static FieldModel],
) -> Self
pub const fn generated( name: &'static str, target_path: &'static str, local_fields: &'static [&'static FieldModel], ) -> Self
Build one generated relation-edge proposal from ordered local field metadata.
Sourcepub const fn target_path(&self) -> &'static str
pub const fn target_path(&self) -> &'static str
Borrow the declared target entity path.
Sourcepub const fn local_fields(&self) -> &'static [&'static FieldModel]
pub const fn local_fields(&self) -> &'static [&'static FieldModel]
Borrow ordered local relation component field metadata.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RelationEdgeModel
impl RefUnwindSafe for RelationEdgeModel
impl Send for RelationEdgeModel
impl Sync for RelationEdgeModel
impl Unpin for RelationEdgeModel
impl UnsafeUnpin for RelationEdgeModel
impl UnwindSafe for RelationEdgeModel
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