Struct Sesame
sesame_rs
pub struct Sesame { /* fields omitted */ }
Sesame device
impl Sesame
fn device_id(&self) -> String
get device_id
fn nickname(&self) -> String
get nickname
fn is_unlocked(&self) -> bool
fn api_enabled(&self) -> bool
fn battery(&self) -> u64
fn lock(&mut self) -> Result<(), String>
lock this sesame
fn unlock(&mut self) -> Result<(), String>
unlock this sesame