[−][src]Struct i3status_rs::blocks::memory::MemoryConfig   
Fields
format_mem: StringFormat string for Memory view. All format values are described below.
format_swap: StringFormat string for Swap view.
display_type: MemtypeDefault view displayed on startup. Options are 
 memory, swap
icons: boolWhether the format string should be prepended with Icons. Options are 
 true, false
clickable: boolWhether the view should switch between memory and swap on click. Options are 
 true, false
interval: DurationThe delay in seconds between an update. If clickable, an update is triggered on click. Integer values only.
warning_mem: f64Percentage of memory usage, where state is set to warning
warning_swap: f64Percentage of swap usage, where state is set to warning
critical_mem: f64Percentage of memory usage, where state is set to critical
critical_swap: f64Percentage of swap usage, where state is set to critical
Trait Implementations
impl Clone for MemoryConfig[src]
fn clone(&self) -> MemoryConfig[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for MemoryConfig[src]
impl Default for MemoryConfig[src]
impl<'de> Deserialize<'de> for MemoryConfig where
    MemoryConfig: Default, [src]
MemoryConfig: Default,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
    __D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl RefUnwindSafe for MemoryConfig[src]
impl Send for MemoryConfig[src]
impl Sync for MemoryConfig[src]
impl Unpin for MemoryConfig[src]
impl UnwindSafe for MemoryConfig[src]
Blanket Implementations
impl<T> Any for T where
    T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
    T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
    T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
    U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
    T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
    U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, [src]
U: TryFrom<T>,