pub struct SupportedFunction {
pub option: String,
pub value: String,
}
Fields§
§option: String
Option name to identify the function.
WOL
- If the server supports WOL, the MAC address is set as a value.
value: String
Current value for each option.
The value varies per option and the following value is defined.
- (ex)
00:00:00:00:00:00:00:E0
(The MAC Address when the option value isWOL
.)
Trait Implementations§
Source§impl Clone for SupportedFunction
impl Clone for SupportedFunction
Source§fn clone(&self) -> SupportedFunction
fn clone(&self) -> SupportedFunction
Returns a copy 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 SupportedFunction
impl Debug for SupportedFunction
Source§impl<'de> Deserialize<'de> for SupportedFunction
impl<'de> Deserialize<'de> for SupportedFunction
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 SupportedFunction
impl PartialEq for SupportedFunction
Source§impl Serialize for SupportedFunction
impl Serialize for SupportedFunction
impl Eq for SupportedFunction
impl StructuralPartialEq for SupportedFunction
Auto Trait Implementations§
impl Freeze for SupportedFunction
impl RefUnwindSafe for SupportedFunction
impl Send for SupportedFunction
impl Sync for SupportedFunction
impl Unpin for SupportedFunction
impl UnwindSafe for SupportedFunction
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.