Struct radicle_surf::Namespace
source · pub struct Namespace { /* private fields */ }
Expand description
A Namespace
value allows us to switch the git namespace of
a repo.
A Namespace
is one or more name components separated by /
, e.g. surf
,
surf/git
.
For each Namespace
, the reference name will add a single refs/namespaces
prefix, e.g. refs/namespaces/surf
,
refs/namespaces/surf/refs/namespaces/git
.
Trait Implementations§
source§impl From<Namespaced<'_>> for Namespace
impl From<Namespaced<'_>> for Namespace
source§fn from(namespaced: Namespaced<'_>) -> Self
fn from(namespaced: Namespaced<'_>) -> Self
Converts to this type from the input type.
source§impl Ord for Namespace
impl Ord for Namespace
source§impl PartialOrd for Namespace
impl PartialOrd for Namespace
impl Eq for Namespace
impl StructuralPartialEq for Namespace
Auto Trait Implementations§
impl Freeze for Namespace
impl RefUnwindSafe for Namespace
impl Send for Namespace
impl Sync for Namespace
impl Unpin for Namespace
impl UnwindSafe for Namespace
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)