pub struct BriefMacAddress {
pub id: Option<i32>,
pub url: Option<String>,
pub display: Option<String>,
pub mac_address: String,
pub description: Option<String>,
}Expand description
BriefMacAddress : Adds support for custom fields and tags.
Fields§
§id: Option<i32>§url: Option<String>§display: Option<String>§mac_address: String§description: Option<String>Implementations§
Source§impl BriefMacAddress
impl BriefMacAddress
Sourcepub fn new(mac_address: String) -> BriefMacAddress
pub fn new(mac_address: String) -> BriefMacAddress
Adds support for custom fields and tags.
Trait Implementations§
Source§impl Clone for BriefMacAddress
impl Clone for BriefMacAddress
Source§fn clone(&self) -> BriefMacAddress
fn clone(&self) -> BriefMacAddress
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 BriefMacAddress
impl Debug for BriefMacAddress
Source§impl Default for BriefMacAddress
impl Default for BriefMacAddress
Source§fn default() -> BriefMacAddress
fn default() -> BriefMacAddress
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BriefMacAddress
impl<'de> Deserialize<'de> for BriefMacAddress
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 BriefMacAddress
impl PartialEq for BriefMacAddress
Source§impl Serialize for BriefMacAddress
impl Serialize for BriefMacAddress
impl StructuralPartialEq for BriefMacAddress
Auto Trait Implementations§
impl Freeze for BriefMacAddress
impl RefUnwindSafe for BriefMacAddress
impl Send for BriefMacAddress
impl Sync for BriefMacAddress
impl Unpin for BriefMacAddress
impl UnwindSafe for BriefMacAddress
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