Struct lrwn::DevStatusAnsPayload
source · pub struct DevStatusAnsPayload {
pub battery: u8,
pub margin: i8,
}
Fields§
§battery: u8
§margin: i8
Trait Implementations§
source§impl Clone for DevStatusAnsPayload
impl Clone for DevStatusAnsPayload
source§fn clone(&self) -> DevStatusAnsPayload
fn clone(&self) -> DevStatusAnsPayload
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 DevStatusAnsPayload
impl Debug for DevStatusAnsPayload
source§impl PartialEq for DevStatusAnsPayload
impl PartialEq for DevStatusAnsPayload
source§fn eq(&self, other: &DevStatusAnsPayload) -> bool
fn eq(&self, other: &DevStatusAnsPayload) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PayloadCodec for DevStatusAnsPayload
impl PayloadCodec for DevStatusAnsPayload
source§impl Serialize for DevStatusAnsPayload
impl Serialize for DevStatusAnsPayload
impl Eq for DevStatusAnsPayload
impl StructuralPartialEq for DevStatusAnsPayload
Auto Trait Implementations§
impl Freeze for DevStatusAnsPayload
impl RefUnwindSafe for DevStatusAnsPayload
impl Send for DevStatusAnsPayload
impl Sync for DevStatusAnsPayload
impl Unpin for DevStatusAnsPayload
impl UnwindSafe for DevStatusAnsPayload
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