#[non_exhaustive]pub enum ObjectRef {
Production(ProductionId),
Asset(AssetId),
Representation(RepresentationId),
Resource(ResourceId),
Activity(ActivityId),
}Expand description
A typed reference to an object that may carry extensible assertions.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Production(ProductionId)
A production object.
Asset(AssetId)
A logical asset object.
Representation(RepresentationId)
A concrete asset representation.
Resource(ResourceId)
A storage-level resource.
Activity(ActivityId)
A production activity.
Trait Implementations§
impl Copy for ObjectRef
impl Eq for ObjectRef
Source§impl Ord for ObjectRef
impl Ord for ObjectRef
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for ObjectRef
impl PartialOrd for ObjectRef
impl StructuralPartialEq for ObjectRef
Auto Trait Implementations§
impl Freeze for ObjectRef
impl RefUnwindSafe for ObjectRef
impl Send for ObjectRef
impl Sync for ObjectRef
impl Unpin for ObjectRef
impl UnsafeUnpin for ObjectRef
impl UnwindSafe for ObjectRef
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