Struct chirpstack_api::gw::DownlinkTxInfo[][src]

pub struct DownlinkTxInfo {
    pub gateway_id: Vec<u8>,
    pub frequency: u32,
    pub power: i32,
    pub modulation: i32,
    pub board: u32,
    pub antenna: u32,
    pub timing: i32,
    pub context: Vec<u8>,
    pub modulation_info: Option<ModulationInfo>,
    pub timing_info: Option<TimingInfo>,
}

Fields

gateway_id: Vec<u8>

Gateway ID. Deprecated: replaced by gateway_id in DownlinkFrame.

frequency: u32

TX frequency (in Hz).

power: i32

TX power (in dBm).

modulation: i32

Modulation.

board: u32

The board identifier for emitting the frame.

antenna: u32

The antenna identifier for emitting the frame.

timing: i32

Timing defines the downlink timing to use.

context: Vec<u8>

Gateway specific context. In case of a Class-A downlink, this contains a copy of the uplink context.

modulation_info: Option<ModulationInfo>timing_info: Option<TimingInfo>

Implementations

impl DownlinkTxInfo[src]

pub fn modulation(&self) -> Modulation[src]

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

pub fn set_modulation(&mut self, value: Modulation)[src]

Sets modulation to the provided enum value.

pub fn timing(&self) -> DownlinkTiming[src]

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

pub fn set_timing(&mut self, value: DownlinkTiming)[src]

Sets timing to the provided enum value.

Trait Implementations

impl Clone for DownlinkTxInfo[src]

impl Debug for DownlinkTxInfo[src]

impl Default for DownlinkTxInfo[src]

impl Message for DownlinkTxInfo[src]

impl PartialEq<DownlinkTxInfo> for DownlinkTxInfo[src]

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