pub struct VersionHeader(pub String);Tuple Fields§
§0: StringTrait Implementations§
Source§impl<'__de, __Context> BorrowDecode<'__de, __Context> for VersionHeader
impl<'__de, __Context> BorrowDecode<'__de, __Context> for VersionHeader
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 VersionHeader
impl Clone for VersionHeader
Source§fn clone(&self) -> VersionHeader
fn clone(&self) -> VersionHeader
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 VersionHeader
impl Debug for VersionHeader
Source§impl<__Context> Decode<__Context> for VersionHeader
impl<__Context> Decode<__Context> for VersionHeader
Source§impl Encode for VersionHeader
impl Encode for VersionHeader
Source§impl Ord for VersionHeader
impl Ord for VersionHeader
Source§fn cmp(&self, other: &VersionHeader) -> Ordering
fn cmp(&self, other: &VersionHeader) -> 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 VersionHeader
impl PartialEq for VersionHeader
Source§impl PartialOrd for VersionHeader
impl PartialOrd for VersionHeader
impl Eq for VersionHeader
impl StructuralPartialEq for VersionHeader
Auto Trait Implementations§
impl Freeze for VersionHeader
impl RefUnwindSafe for VersionHeader
impl Send for VersionHeader
impl Sync for VersionHeader
impl Unpin for VersionHeader
impl UnwindSafe for VersionHeader
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