pub struct NginxVersion {
pub major: u32,
pub minor: u32,
pub patch: u32,
}Expand description
A parsed nginx version triple (major.minor.patch).
nginx releases follow major.minor.patch (e.g. 1.30.1); this struct
stores those three components and orders them lexicographically.
Fields§
§major: u32§minor: u32§patch: u32Implementations§
Trait Implementations§
Source§impl Clone for NginxVersion
impl Clone for NginxVersion
Source§fn clone(&self) -> NginxVersion
fn clone(&self) -> NginxVersion
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 NginxVersion
impl Debug for NginxVersion
Source§impl Display for NginxVersion
impl Display for NginxVersion
Source§impl FromStr for NginxVersion
impl FromStr for NginxVersion
Source§impl Hash for NginxVersion
impl Hash for NginxVersion
Source§impl Ord for NginxVersion
impl Ord for NginxVersion
Source§impl PartialEq for NginxVersion
impl PartialEq for NginxVersion
Source§impl PartialOrd for NginxVersion
impl PartialOrd for NginxVersion
impl Copy for NginxVersion
impl Eq for NginxVersion
impl StructuralPartialEq for NginxVersion
Auto Trait Implementations§
impl Freeze for NginxVersion
impl RefUnwindSafe for NginxVersion
impl Send for NginxVersion
impl Sync for NginxVersion
impl Unpin for NginxVersion
impl UnsafeUnpin for NginxVersion
impl UnwindSafe for NginxVersion
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more