pub struct UserDisplay {
pub ip: String,
pub battery: String,
pub entries: [String; 5],
pub selected_entry: i32,
}Fields§
§ip: String§battery: String§entries: [String; 5]§selected_entry: i32Trait Implementations§
Source§impl Clone for UserDisplay
impl Clone for UserDisplay
Source§fn clone(&self) -> UserDisplay
fn clone(&self) -> UserDisplay
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 UserDisplay
impl Debug for UserDisplay
Source§impl Default for UserDisplay
impl Default for UserDisplay
Source§impl<'de> Deserialize<'de> for UserDisplay
impl<'de> Deserialize<'de> for UserDisplay
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
Source§impl PartialEq for UserDisplay
impl PartialEq for UserDisplay
Source§impl Serialize for UserDisplay
impl Serialize for UserDisplay
impl Message for UserDisplay
impl StructuralPartialEq for UserDisplay
Auto Trait Implementations§
impl Freeze for UserDisplay
impl RefUnwindSafe for UserDisplay
impl Send for UserDisplay
impl Sync for UserDisplay
impl Unpin for UserDisplay
impl UnwindSafe for UserDisplay
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