Struct mosquitto_rs::LibraryVersion
source · pub struct LibraryVersion {
pub major: c_int,
pub minor: c_int,
pub revision: c_int,
pub version: c_int,
}
Expand description
Represents the version of the linked mosquitto client library
Fields§
§major: c_int
The major version of the library
minor: c_int
The minor version of the library
revision: c_int
The revision of the library
version: c_int
A unique number based on the major, minor and revision values
Trait Implementations§
source§impl Clone for LibraryVersion
impl Clone for LibraryVersion
source§fn clone(&self) -> LibraryVersion
fn clone(&self) -> LibraryVersion
Returns a copy 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 LibraryVersion
impl Debug for LibraryVersion
source§impl Display for LibraryVersion
impl Display for LibraryVersion
source§impl PartialEq for LibraryVersion
impl PartialEq for LibraryVersion
source§fn eq(&self, other: &LibraryVersion) -> bool
fn eq(&self, other: &LibraryVersion) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for LibraryVersion
impl Eq for LibraryVersion
impl StructuralEq for LibraryVersion
impl StructuralPartialEq for LibraryVersion
Auto Trait Implementations§
impl RefUnwindSafe for LibraryVersion
impl Send for LibraryVersion
impl Sync for LibraryVersion
impl Unpin for LibraryVersion
impl UnwindSafe for LibraryVersion
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