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