pub enum ObjectRoleRef {
ObjectRole(ObjectRoleId),
}Variants§
ObjectRole(ObjectRoleId)
Implementations§
Source§impl ObjectRoleRef
impl ObjectRoleRef
pub fn resolve<'m>(&self, model: &'m StepModel) -> ObjectRoleRefView<'m>
pub fn entity_key(&self) -> EntityKey
Trait Implementations§
Source§impl Clone for ObjectRoleRef
impl Clone for ObjectRoleRef
Source§fn clone(&self) -> ObjectRoleRef
fn clone(&self) -> ObjectRoleRef
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 ObjectRoleRef
impl Debug for ObjectRoleRef
Source§impl PartialEq for ObjectRoleRef
impl PartialEq for ObjectRoleRef
Source§fn eq(&self, other: &ObjectRoleRef) -> bool
fn eq(&self, other: &ObjectRoleRef) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ObjectRoleRef
Auto Trait Implementations§
impl Freeze for ObjectRoleRef
impl RefUnwindSafe for ObjectRoleRef
impl Send for ObjectRoleRef
impl Sync for ObjectRoleRef
impl Unpin for ObjectRoleRef
impl UnsafeUnpin for ObjectRoleRef
impl UnwindSafe for ObjectRoleRef
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