[−][src]Enum nut_client::Variable
Well-known variables for NUT UPS devices.
List retrieved from: https://networkupstools.org/docs/user-manual.chunked/apcs01.html
Variants
DeviceModel(String)
Device model.
DeviceManufacturer(String)
Device manufacturer.
DeviceSerial(String)
Device serial number.
DeviceType(DeviceType)
Device type.
DeviceDescription(String)
Device description.
DeviceContact(String)
Device administrator name.
DeviceLocation(String)
Device physical location.
DevicePart(String)
Device part number.
DeviceMacAddress(String)
Device MAC address.
DeviceUptime(Duration)
Device uptime.
Any other variable. Value is a tuple of (key, value).
Implementations
impl Variable
[src]
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Variable
impl Send for Variable
impl Sync for Variable
impl Unpin for Variable
impl UnwindSafe for Variable
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> 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> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
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>,