pub struct WirelessLanGroup {Show 15 fields
pub id: Option<i32>,
pub url: Option<String>,
pub display_url: Option<String>,
pub display: Option<String>,
pub name: String,
pub slug: String,
pub parent: Option<Option<Box<NestedWirelessLanGroup>>>,
pub description: Option<String>,
pub tags: Option<Vec<NestedTag>>,
pub custom_fields: Option<HashMap<String, Value>>,
pub created: Option<Option<String>>,
pub last_updated: Option<Option<String>>,
pub wirelesslan_count: Option<i32>,
pub comments: Option<String>,
pub _depth: Option<i32>,
}Expand description
WirelessLanGroup : Extends PrimaryModelSerializer to include MPTT support.
Fields§
§id: Option<i32>§url: Option<String>§display_url: Option<String>§display: Option<String>§name: String§slug: String§parent: Option<Option<Box<NestedWirelessLanGroup>>>§description: Option<String>§custom_fields: Option<HashMap<String, Value>>§created: Option<Option<String>>§last_updated: Option<Option<String>>§wirelesslan_count: Option<i32>§comments: Option<String>§_depth: Option<i32>Implementations§
Source§impl WirelessLanGroup
impl WirelessLanGroup
Sourcepub fn new(name: String, slug: String) -> WirelessLanGroup
pub fn new(name: String, slug: String) -> WirelessLanGroup
Extends PrimaryModelSerializer to include MPTT support.
Trait Implementations§
Source§impl Clone for WirelessLanGroup
impl Clone for WirelessLanGroup
Source§fn clone(&self) -> WirelessLanGroup
fn clone(&self) -> WirelessLanGroup
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 WirelessLanGroup
impl Debug for WirelessLanGroup
Source§impl Default for WirelessLanGroup
impl Default for WirelessLanGroup
Source§fn default() -> WirelessLanGroup
fn default() -> WirelessLanGroup
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WirelessLanGroup
impl<'de> Deserialize<'de> for WirelessLanGroup
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 WirelessLanGroup
impl PartialEq for WirelessLanGroup
Source§impl Serialize for WirelessLanGroup
impl Serialize for WirelessLanGroup
impl StructuralPartialEq for WirelessLanGroup
Auto Trait Implementations§
impl Freeze for WirelessLanGroup
impl RefUnwindSafe for WirelessLanGroup
impl Send for WirelessLanGroup
impl Sync for WirelessLanGroup
impl Unpin for WirelessLanGroup
impl UnwindSafe for WirelessLanGroup
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