radb 0.1.7

A Rust Implement Python AdbUtils
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use std::collections::HashMap;

#[derive(Debug)]
pub struct AdbDeviceInfo {
    pub serial: String,
    pub state: String,
    pub properties: HashMap<String, String>,
}

impl AdbDeviceInfo {
    pub fn new(serial: String, state: String) -> AdbDeviceInfo {
        AdbDeviceInfo {
            serial,
            state,
            properties: HashMap::new(),
        }
    }
}