Enum semtech_udp::push_data::RxPk
source · [−]Variants
V1(RxPkV1)
V2(RxPkV2)
Implementations
sourceimpl RxPk
impl RxPk
pub fn get_snr(&self) -> f32
pub fn get_channel_rssi(&self) -> i32
pub fn get_signal_rssi(&self) -> Option<i32>
pub fn get_frequency(&self) -> &f64
pub fn get_data(&self) -> &Vec<u8>
pub fn get_timestamp(&self) -> &u32
pub fn get_time(&self) -> &Option<String>
pub fn get_datarate(&self) -> DataRate
pub fn get_crc_status(&self) -> &CRC
Trait Implementations
sourceimpl<'de> Deserialize<'de> for RxPk
impl<'de> Deserialize<'de> for RxPk
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for RxPk
impl Send for RxPk
impl Sync for RxPk
impl Unpin for RxPk
impl UnwindSafe for RxPk
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more