pub struct Version<T: ?Sized> {
pub value: String,
/* private fields */
}Fields§
§value: StringTrait Implementations§
Source§impl<T> AsChangelogFmt for Version<T>
impl<T> AsChangelogFmt for Version<T>
fn as_changelog_fmt(&self) -> String
impl<T: Eq + ?Sized> Eq for Version<T>
impl<T: ?Sized> StructuralPartialEq for Version<T>
Auto Trait Implementations§
impl<T> Freeze for Version<T>where
T: ?Sized,
impl<T> RefUnwindSafe for Version<T>where
T: RefUnwindSafe + ?Sized,
impl<T> Send for Version<T>
impl<T> Sync for Version<T>
impl<T> Unpin for Version<T>
impl<T> UnwindSafe for Version<T>where
T: UnwindSafe + ?Sized,
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more