pub struct AdbVersion {
    pub major: u32,
    pub minor: u32,
    pub revision: u32,
}Expand description
Represents the ADB server version.
Fields§
§major: u32Major version number.
minor: u32Minor version number.
revision: u32Revision number.
Implementations§
Source§impl AdbVersion
 
impl AdbVersion
Sourcepub fn new(minor: u32, revision: u32) -> Self
 
pub fn new(minor: u32, revision: u32) -> Self
Instantiates a new AdbVersion.
Trait Implementations§
Source§impl Debug for AdbVersion
 
impl Debug for AdbVersion
Source§impl Display for AdbVersion
 
impl Display for AdbVersion
Auto Trait Implementations§
impl Freeze for AdbVersion
impl RefUnwindSafe for AdbVersion
impl Send for AdbVersion
impl Sync for AdbVersion
impl Unpin for AdbVersion
impl UnwindSafe for AdbVersion
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