pub struct VersionInfo {
pub product: &'static str,
pub engine: &'static str,
pub api: &'static str,
pub disk_format: u16,
}Expand description
Product version information that can be reported without opening a data directory.
Fields§
§product: &'static strProduct name.
engine: &'static strCargo package version for the running binary.
api: &'static strPublic HTTP API version.
disk_format: u16On-disk format version.
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
impl Eq for VersionInfo
Source§impl PartialEq for VersionInfo
impl PartialEq for VersionInfo
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