pub enum Ref {
Direct(ObjectId),
Symbolic(String),
}Expand description
A symbolic or direct reference.
Variants§
Direct(ObjectId)
Direct reference: stores an ObjectId.
Symbolic(String)
Symbolic reference: stores the name of the target ref.
Trait Implementations§
impl Eq for Ref
impl StructuralPartialEq for Ref
Auto Trait Implementations§
impl Freeze for Ref
impl RefUnwindSafe for Ref
impl Send for Ref
impl Sync for Ref
impl Unpin for Ref
impl UnsafeUnpin for Ref
impl UnwindSafe for Ref
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