MistDeviceEvents

Struct MistDeviceEvents 

Source
pub struct MistDeviceEvents {
Show 23 fields pub ap: Option<String>, pub ap_name: Option<String>, pub audit_id: Option<String>, pub band: Option<String>, pub bandwidth: Option<u16>, pub channel: Option<u16>, pub device_name: String, pub device_type: String, pub ev_type: Option<String>, pub mac: String, pub org_id: String, pub power: Option<u16>, pub pre_bandwidth: Option<u16>, pub pre_channel: Option<u16>, pub pre_power: Option<u16>, pub pre_usage: Option<u16>, pub reason: Option<String>, pub site_id: String, pub site_name: String, pub text: Option<String>, pub timestamp: i64, pub type: String, pub usage: Option<u16>,
}
Expand description

Mist Device Payload

Fields§

§ap: Option<String>

Access Point

§ap_name: Option<String>

Access Point Name

§audit_id: Option<String>

Audit Id

§band: Option<String>

Radio Band

§bandwidth: Option<u16>

Radio Bandwidth

§channel: Option<u16>

Radio Channel

§device_name: String

Device Name

§device_type: String

Device Type

§ev_type: Option<String>

Event Type

§mac: String

MAC Address

§org_id: String

Organization Id

§power: Option<u16>

Radio Power Level

§pre_bandwidth: Option<u16>

PRE Bandwidth

§pre_channel: Option<u16>

PRE Channel

§pre_power: Option<u16>

PRE Power

§pre_usage: Option<u16>

PRE Usage

§reason: Option<String>

Event Reason

§site_id: String

Site Id

§site_name: String

Site Name

§text: Option<String>

Text (Details)

§timestamp: i64

Event Timestamp

§type: String

Type

§usage: Option<u16>

Usage

Trait Implementations§

Source§

impl Clone for MistDeviceEvents

Source§

fn clone(&self) -> MistDeviceEvents

Returns a duplicate of the value. Read more
1.0.0§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for MistDeviceEvents

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for MistDeviceEvents

Source§

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 Serialize for MistDeviceEvents

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

§

impl<T> Any for T
where T: 'static + ?Sized,

§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> Borrow<T> for T
where T: ?Sized,

§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
§

impl<T> BorrowMut<T> for T
where T: ?Sized,

§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> CloneToUninit for T
where T: Clone,

§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
§

impl<T> From<T> for T

§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T, U> Into<U> for T
where U: From<T>,

§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,