pub struct VersionInfo {
pub major: u32,
pub minor: u32,
pub patch: u32,
pub pre: &'static str,
}Expand description
Version information for the oxicrypto facade crate.
Obtained via version().
Fields§
§major: u32Major version number (semantic versioning).
minor: u32Minor version number (semantic versioning).
patch: u32Patch version number (semantic versioning).
pre: &'static strPre-release label, if any (e.g. "alpha.1"), or "" for stable releases.
Trait Implementations§
Source§impl Clone for VersionInfo
impl Clone for VersionInfo
Source§fn clone(&self) -> VersionInfo
fn clone(&self) -> VersionInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for VersionInfo
Source§impl Debug for VersionInfo
impl Debug for VersionInfo
Source§impl Display for VersionInfo
impl Display for VersionInfo
impl Eq for VersionInfo
Source§impl PartialEq for VersionInfo
impl PartialEq for VersionInfo
Source§fn eq(&self, other: &VersionInfo) -> bool
fn eq(&self, other: &VersionInfo) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for VersionInfo
Auto Trait Implementations§
impl Freeze for VersionInfo
impl RefUnwindSafe for VersionInfo
impl Send for VersionInfo
impl Sync for VersionInfo
impl Unpin for VersionInfo
impl UnsafeUnpin for VersionInfo
impl UnwindSafe for VersionInfo
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