pub struct PhoneState {
pub current_app: String,
pub package_name: String,
pub is_editable: bool,
pub focused_element: Option<Value>,
}Expand description
Phone state information.
Fields§
§current_app: String§package_name: String§is_editable: bool§focused_element: Option<Value>Trait Implementations§
Source§impl Clone for PhoneState
impl Clone for PhoneState
Source§fn clone(&self) -> PhoneState
fn clone(&self) -> PhoneState
Returns a duplicate 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 PhoneState
impl Debug for PhoneState
Source§impl Default for PhoneState
impl Default for PhoneState
Source§fn default() -> PhoneState
fn default() -> PhoneState
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PhoneState
impl<'de> Deserialize<'de> for PhoneState
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PhoneState
impl RefUnwindSafe for PhoneState
impl Send for PhoneState
impl Sync for PhoneState
impl Unpin for PhoneState
impl UnsafeUnpin for PhoneState
impl UnwindSafe for PhoneState
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