[][src]Struct chirpstack_api::as_pb::external::api::FuotaDeployment

pub struct FuotaDeployment {
    pub id: String,
    pub name: String,
    pub group_type: i32,
    pub dr: u32,
    pub frequency: u32,
    pub payload: Vec<u8>,
    pub redundancy: u32,
    pub multicast_timeout: u32,
    pub unicast_timeout: Option<Duration>,
    pub state: String,
    pub next_step_after: Option<Timestamp>,
}

Fields

id: String

ID of the deployment (string formatted UUID). This value will be automatically assigned on create.

name: String

Name of the deployment.

group_type: i32

Multicast type. Currently only Class-C is supported!

dr: u32

Data-rate.

frequency: u32

Frequency (Hz).

payload: Vec<u8>

Payload.

redundancy: u32

Redundancy (number of packages).

multicast_timeout: u32

Multicast time-out. Please refer to the Remote Multicast Setup specification as this field has a different meaning for Class-B and Class-C groups.

unicast_timeout: Option<Duration>

Unicast time-out. Set this to the value in which you at least expect an uplink frame from the device. The FUOTA deployment engine will wait at least for the given time before proceeding with the next steps.

state: String

Deployment state. This value will be automatically set on create.

next_step_after: Option<Timestamp>

Next step after. This value will be automatically set on create.

Implementations

impl FuotaDeployment[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 FuotaDeployment[src]

impl Debug for FuotaDeployment[src]

impl Default for FuotaDeployment[src]

impl Message for FuotaDeployment[src]

impl PartialEq<FuotaDeployment> for FuotaDeployment[src]

impl StructuralPartialEq for FuotaDeployment[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]