pub enum VersionStatus {
Match,
Mismatch(String),
}Variants§
Trait Implementations§
Source§impl<'__de, __Context> BorrowDecode<'__de, __Context> for VersionStatus
impl<'__de, __Context> BorrowDecode<'__de, __Context> for VersionStatus
Source§fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>(
decoder: &mut __D,
) -> Result<Self, DecodeError>
fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>( decoder: &mut __D, ) -> Result<Self, DecodeError>
Attempt to decode this type with the given BorrowDecode.
Source§impl Clone for VersionStatus
impl Clone for VersionStatus
Source§fn clone(&self) -> VersionStatus
fn clone(&self) -> VersionStatus
Returns a duplicate of the value. Read more
1.0.0 · 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 VersionStatus
impl Debug for VersionStatus
Source§impl<__Context> Decode<__Context> for VersionStatus
impl<__Context> Decode<__Context> for VersionStatus
Source§impl Encode for VersionStatus
impl Encode for VersionStatus
Source§impl Ord for VersionStatus
impl Ord for VersionStatus
Source§fn cmp(&self, other: &VersionStatus) -> Ordering
fn cmp(&self, other: &VersionStatus) -> Ordering
1.21.0 · 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 VersionStatus
impl PartialEq for VersionStatus
Source§impl PartialOrd for VersionStatus
impl PartialOrd for VersionStatus
impl Eq for VersionStatus
impl StructuralPartialEq for VersionStatus
Auto Trait Implementations§
impl Freeze for VersionStatus
impl RefUnwindSafe for VersionStatus
impl Send for VersionStatus
impl Sync for VersionStatus
impl Unpin for VersionStatus
impl UnwindSafe for VersionStatus
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