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