Struct chirpstack_api::ns::MulticastGroup[][src]

pub struct MulticastGroup {
    pub id: Vec<u8>,
    pub mc_addr: Vec<u8>,
    pub mc_nwk_s_key: Vec<u8>,
    pub f_cnt: u32,
    pub group_type: i32,
    pub dr: u32,
    pub frequency: u32,
    pub ping_slot_period: u32,
    pub service_profile_id: Vec<u8>,
    pub routing_profile_id: Vec<u8>,
}

Fields

id: Vec<u8>

Multicast-group ID. Note: this can be set on create. When left blank, a random ID will be generated.

mc_addr: Vec<u8>

Multicast Address for this group.

mc_nwk_s_key: Vec<u8>

Multicast network session key.

f_cnt: u32

Frame-counter (downlink).

group_type: i32

Multicast-group type (Class-B or Class-C).

dr: u32

Data-rate.

frequency: u32

Frequency (Hz).

ping_slot_period: u32

Ping-slot period. Mandatory for Class-B multicast groups.

service_profile_id: Vec<u8>

Service-profile ID.

routing_profile_id: Vec<u8>

Routing-profile ID.

Implementations

impl MulticastGroup[src]

pub fn group_type(&self) -> MulticastGroupType[src]

Returns the enum value of group_type, or the default if the field is set to an invalid enum value.

pub fn set_group_type(&mut self, value: MulticastGroupType)[src]

Sets group_type to the provided enum value.

Trait Implementations

impl Clone for MulticastGroup[src]

impl Debug for MulticastGroup[src]

impl Default for MulticastGroup[src]

impl Message for MulticastGroup[src]

impl PartialEq<MulticastGroup> for MulticastGroup[src]

impl StructuralPartialEq for MulticastGroup[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]