Struct vsdb::VersionName
source · [−]pub struct VersionName<'a>(pub &'a [u8]);Expand description
Avoid making mistakes between branch name and version name.
Tuple Fields
0: &'a [u8]Trait Implementations
sourceimpl<'a> Clone for VersionName<'a>
impl<'a> Clone for VersionName<'a>
sourcefn clone(&self) -> VersionName<'a>
fn clone(&self) -> VersionName<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl<'a> Debug for VersionName<'a>
impl<'a> Debug for VersionName<'a>
sourceimpl<'a> From<&'a [u8]> for VersionName<'a>
impl<'a> From<&'a [u8]> for VersionName<'a>
sourcefn from(t: &'a [u8]) -> VersionName<'a>
fn from(t: &'a [u8]) -> VersionName<'a>
Converts to this type from the input type.
sourceimpl<'a> From<&'a String> for VersionName<'a>
impl<'a> From<&'a String> for VersionName<'a>
sourcefn from(t: &'a String) -> VersionName<'a>
fn from(t: &'a String) -> VersionName<'a>
Converts to this type from the input type.
sourceimpl<'a> From<&'a str> for VersionName<'a>
impl<'a> From<&'a str> for VersionName<'a>
sourcefn from(t: &'a str) -> VersionName<'a>
fn from(t: &'a str) -> VersionName<'a>
Converts to this type from the input type.
sourceimpl<'a> PartialEq<VersionName<'a>> for VersionName<'a>
impl<'a> PartialEq<VersionName<'a>> for VersionName<'a>
sourcefn eq(&self, other: &VersionName<'a>) -> bool
fn eq(&self, other: &VersionName<'a>) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &VersionName<'a>) -> bool
fn ne(&self, other: &VersionName<'a>) -> bool
This method tests for !=.
impl<'a> Copy for VersionName<'a>
impl<'a> Eq for VersionName<'a>
impl<'a> StructuralEq for VersionName<'a>
impl<'a> StructuralPartialEq for VersionName<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for VersionName<'a>
impl<'a> Send for VersionName<'a>
impl<'a> Sync for VersionName<'a>
impl<'a> Unpin for VersionName<'a>
impl<'a> UnwindSafe for VersionName<'a>
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