pub struct RepoPathText(/* private fields */);Expand description
A repository path whose bytes are valid UTF-8, mirroring the schema’s
RepoPathText: the form every configuration surface is confined to.
Implementations§
Trait Implementations§
Source§impl Clone for RepoPathText
impl Clone for RepoPathText
Source§fn clone(&self) -> RepoPathText
fn clone(&self) -> RepoPathText
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 RepoPathText
impl Debug for RepoPathText
impl Eq for RepoPathText
Source§impl From<&RepoPathText> for RepoPath
Text-form paths embed without revalidation: both types enforce the one
byte grammar, and a String is UTF-8 by construction.
impl From<&RepoPathText> for RepoPath
Text-form paths embed without revalidation: both types enforce the one
byte grammar, and a String is UTF-8 by construction.
Source§fn from(text: &RepoPathText) -> Self
fn from(text: &RepoPathText) -> Self
Converts to this type from the input type.
Source§impl Ord for RepoPathText
impl Ord for RepoPathText
Source§fn cmp(&self, other: &RepoPathText) -> Ordering
fn cmp(&self, other: &RepoPathText) -> Ordering
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 PartialEq for RepoPathText
impl PartialEq for RepoPathText
Source§impl PartialOrd for RepoPathText
impl PartialOrd for RepoPathText
impl StructuralPartialEq for RepoPathText
Auto Trait Implementations§
impl Freeze for RepoPathText
impl RefUnwindSafe for RepoPathText
impl Send for RepoPathText
impl Sync for RepoPathText
impl Unpin for RepoPathText
impl UnsafeUnpin for RepoPathText
impl UnwindSafe for RepoPathText
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