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
impl Copy for LibraryVersion
impl Eq for LibraryVersion
impl StructuralPartialEq for LibraryVersion
Auto Trait Implementations§
impl Freeze for LibraryVersion
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