Struct git_ref::PartialName
source · [−]pub struct PartialName(_);
Expand description
A validated complete and fully qualified owned reference name, safe to use for all operations.
Implementations
Trait Implementations
sourceimpl AsRef<PartialNameRef> for PartialName
impl AsRef<PartialNameRef> for PartialName
sourcefn as_ref(&self) -> &PartialNameRef
fn as_ref(&self) -> &PartialNameRef
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Borrow<PartialNameRef> for PartialName
impl Borrow<PartialNameRef> for PartialName
sourcefn borrow(&self) -> &PartialNameRef
fn borrow(&self) -> &PartialNameRef
Immutably borrows from an owned value. Read more
sourceimpl Debug for PartialName
impl Debug for PartialName
sourceimpl Hash for PartialName
impl Hash for PartialName
sourceimpl Ord for PartialName
impl Ord for PartialName
sourceimpl PartialEq<PartialName> for PartialName
impl PartialEq<PartialName> for PartialName
sourcefn eq(&self, other: &PartialName) -> bool
fn eq(&self, other: &PartialName) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &PartialName) -> bool
fn ne(&self, other: &PartialName) -> bool
This method tests for !=
.
sourceimpl PartialOrd<PartialName> for PartialName
impl PartialOrd<PartialName> for PartialName
sourcefn partial_cmp(&self, other: &PartialName) -> Option<Ordering>
fn partial_cmp(&self, other: &PartialName) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl<'a> TryFrom<&'a PartialName> for &'a PartialNameRef
impl<'a> TryFrom<&'a PartialName> for &'a PartialNameRef
sourceimpl<'a> TryFrom<&'a str> for PartialName
impl<'a> TryFrom<&'a str> for PartialName
sourceimpl TryFrom<BString> for PartialName
impl TryFrom<BString> for PartialName
sourceimpl TryFrom<String> for PartialName
impl TryFrom<String> for PartialName
impl Eq for PartialName
impl StructuralEq for PartialName
impl StructuralPartialEq for PartialName
Auto Trait Implementations
impl RefUnwindSafe for PartialName
impl Send for PartialName
impl Sync for PartialName
impl Unpin for PartialName
impl UnwindSafe for PartialName
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more