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: u32Frame-counter.
f_port: u32Frame port.
adr: boolADR enabled.
dr: u32Data-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: boolUplink 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, [src]Returns the encoded length of the message without a length delimiter.
Encodes the message to a buffer. Read more
Encodes the message with a length-delimiter to a buffer. Read more
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, [src]
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
Self: Default,
B: Buf, [src]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 HandleUplinkDataRequestimpl Send for HandleUplinkDataRequestimpl Sync for HandleUplinkDataRequestimpl Unpin for HandleUplinkDataRequestimpl UnwindSafe for HandleUplinkDataRequestBlanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
Wrap the input message T in a tonic::Request
pub fn vzip(self) -> VAttaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more