pub enum RefNamespace<'a> {
Local,
Remote(&'a str),
Collection(&'a str),
}Expand description
The namespace of a Ref, as Ref::namespace returns it.
Variants§
Local
The local refs.
Remote(&'a str)
The refs of the remote with this name.
Collection(&'a str)
The refs of the collection with this id.
Trait Implementations§
Source§impl<'a> Clone for RefNamespace<'a>
impl<'a> Clone for RefNamespace<'a>
impl<'a> Copy for RefNamespace<'a>
Source§impl<'a> Debug for RefNamespace<'a>
impl<'a> Debug for RefNamespace<'a>
impl<'a> Eq for RefNamespace<'a>
Source§impl<'a> PartialEq for RefNamespace<'a>
impl<'a> PartialEq for RefNamespace<'a>
impl<'a> StructuralPartialEq for RefNamespace<'a>
Auto Trait Implementations§
impl<'a> Forget for RefNamespace<'a>
impl<'a> Freeze for RefNamespace<'a>
impl<'a> RefUnwindSafe for RefNamespace<'a>
impl<'a> Send for RefNamespace<'a>
impl<'a> Sync for RefNamespace<'a>
impl<'a> Unpin for RefNamespace<'a>
impl<'a> UnsafeUnpin for RefNamespace<'a>
impl<'a> UnwindSafe for RefNamespace<'a>
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