pub struct DisplayState {
pub current_device_index: usize,
pub devices: Vec<Device>,
pub show_multiple: bool,
pub show_graphs: bool,
pub paused: bool,
pub traffic_unit: TrafficUnit,
pub data_unit: DataUnit,
pub max_incoming: u64,
pub max_outgoing: u64,
pub zoom_level: f64,
pub show_options: bool,
pub settings_message: Option<String>,
}Fields§
§current_device_index: usize§devices: Vec<Device>§show_multiple: bool§show_graphs: bool§paused: bool§traffic_unit: TrafficUnit§data_unit: DataUnit§max_incoming: u64§max_outgoing: u64§zoom_level: f64§show_options: bool§settings_message: Option<String>Implementations§
Auto Trait Implementations§
impl Freeze for DisplayState
impl RefUnwindSafe for DisplayState
impl Send for DisplayState
impl Sync for DisplayState
impl Unpin for DisplayState
impl UnsafeUnpin for DisplayState
impl UnwindSafe for DisplayState
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more