pub struct OlmVersion {
pub major: u8,
pub minor: u8,
pub patch: u8,
}
Expand description
Used for storing the version number of libolm.
Solely returned by get_library_version()
.
Fields§
§major: u8
§minor: u8
§patch: u8
Trait Implementations§
Source§impl Debug for OlmVersion
impl Debug for OlmVersion
Source§impl PartialEq for OlmVersion
impl PartialEq for OlmVersion
impl StructuralPartialEq for OlmVersion
Auto Trait Implementations§
impl Freeze for OlmVersion
impl RefUnwindSafe for OlmVersion
impl Send for OlmVersion
impl Sync for OlmVersion
impl Unpin for OlmVersion
impl UnwindSafe for OlmVersion
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