pub struct AvailableVlan {
pub vid: Option<i32>,
pub group: Option<Option<Box<BriefVlanGroup>>>,
}Expand description
AvailableVlan : Representation of a VLAN which does not exist in the database.
Fields§
§vid: Option<i32>§group: Option<Option<Box<BriefVlanGroup>>>Implementations§
Source§impl AvailableVlan
impl AvailableVlan
Sourcepub fn new() -> AvailableVlan
pub fn new() -> AvailableVlan
Representation of a VLAN which does not exist in the database.
Trait Implementations§
Source§impl Clone for AvailableVlan
impl Clone for AvailableVlan
Source§fn clone(&self) -> AvailableVlan
fn clone(&self) -> AvailableVlan
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 AvailableVlan
impl Debug for AvailableVlan
Source§impl Default for AvailableVlan
impl Default for AvailableVlan
Source§fn default() -> AvailableVlan
fn default() -> AvailableVlan
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AvailableVlan
impl<'de> Deserialize<'de> for AvailableVlan
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 AvailableVlan
impl PartialEq for AvailableVlan
Source§impl Serialize for AvailableVlan
impl Serialize for AvailableVlan
impl StructuralPartialEq for AvailableVlan
Auto Trait Implementations§
impl Freeze for AvailableVlan
impl RefUnwindSafe for AvailableVlan
impl Send for AvailableVlan
impl Sync for AvailableVlan
impl Unpin for AvailableVlan
impl UnwindSafe for AvailableVlan
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