Struct lrwn::UplinkMetadata
source · pub struct UplinkMetadata {
pub dr: u8,
pub snr: isize,
pub rssi: isize,
pub wor_channel: u8,
}
Fields§
§dr: u8
§snr: isize
§rssi: isize
§wor_channel: u8
Implementations§
Trait Implementations§
source§impl Clone for UplinkMetadata
impl Clone for UplinkMetadata
source§fn clone(&self) -> UplinkMetadata
fn clone(&self) -> UplinkMetadata
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for UplinkMetadata
impl Debug for UplinkMetadata
source§impl PartialEq for UplinkMetadata
impl PartialEq for UplinkMetadata
source§fn eq(&self, other: &UplinkMetadata) -> bool
fn eq(&self, other: &UplinkMetadata) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for UplinkMetadata
impl Serialize for UplinkMetadata
impl Eq for UplinkMetadata
impl StructuralPartialEq for UplinkMetadata
Auto Trait Implementations§
impl Freeze for UplinkMetadata
impl RefUnwindSafe for UplinkMetadata
impl Send for UplinkMetadata
impl Sync for UplinkMetadata
impl Unpin for UplinkMetadata
impl UnwindSafe for UplinkMetadata
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> IntoSql for T
impl<T> IntoSql for T
source§fn into_sql<T>(self) -> Self::Expression
fn into_sql<T>(self) -> Self::Expression
Convert
self
to an expression for Diesel’s query builder. Read moresource§fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression
Convert
&self
to an expression for Diesel’s query builder. Read more