Struct chirpstack_api::as_pb::HandleUplinkDataRequest [−][src]
pub struct HandleUplinkDataRequest { pub dev_eui: Vec<u8>, pub join_eui: Vec<u8>, pub f_cnt: u32, pub f_port: u32, pub adr: bool, pub dr: u32, pub tx_info: Option<UplinkTxInfo>, pub rx_info: Vec<UplinkRxInfo>, pub data: Vec<u8>, pub device_activation_context: Option<DeviceActivationContext>, pub confirmed_uplink: bool, }
Fields
dev_eui: Vec<u8>
DevEUI EUI (8 bytes).
join_eui: Vec<u8>
Join EUI used for OTAA activation (8 bytes).
f_cnt: u32
Frame-counter.
f_port: u32
Frame port.
adr: bool
ADR enabled.
dr: u32
Data-rate.
tx_info: Option<UplinkTxInfo>
TX meta-data.
rx_info: Vec<UplinkRxInfo>
RX meta-data.
data: Vec<u8>
Received data (encrypted).
device_activation_context: Option<DeviceActivationContext>
Device activation context.
This field is only set on the first uplink frame when the security context has changed (e.g. a new OTAA (re)activation).
confirmed_uplink: bool
Uplink was of type confirmed.
Trait Implementations
fn merge_field<B>(
&mut self,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
Returns the encoded length of the message without a length delimiter.
Encodes the message to a buffer. Read more
Encodes the message to a newly allocated buffer.
Encodes the message with a length-delimiter to a buffer. Read more
Encodes the message with a length-delimiter to a newly allocated buffer.
Decodes an instance of the message from a buffer. Read more
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
Self: Default,
B: Buf,
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
Self: Default,
B: Buf,
Decodes a length-delimited instance of the message from the buffer.
Decodes an instance of the message from a buffer, and merges it into self
. Read more
Decodes a length-delimited instance of the message from buffer, and
merges it into self
. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for HandleUplinkDataRequest
impl Send for HandleUplinkDataRequest
impl Sync for HandleUplinkDataRequest
impl Unpin for HandleUplinkDataRequest
impl UnwindSafe for HandleUplinkDataRequest
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Wrap the input message T
in a tonic::Request