pub struct DevAddr(/* private fields */);
Implementations§
source§impl DevAddr
impl DevAddr
pub fn from_slice(b: &[u8]) -> Result<Self, Error>
pub fn from_be_bytes(b: [u8; 4]) -> Self
pub fn from_le_bytes(b: [u8; 4]) -> Self
pub fn to_be_bytes(&self) -> [u8; 4]
pub fn to_le_bytes(&self) -> [u8; 4]
pub fn to_vec(&self) -> Vec<u8> ⓘ
pub fn is_net_id(&self, net_id: NetID) -> bool
pub fn netid_type(&self) -> Result<u8>
pub fn nwkid(&self) -> Result<Vec<u8>>
pub fn set_dev_addr_prefix(&mut self, prefix: DevAddrPrefix)
Trait Implementations§
source§impl<'expr> AsExpression<Binary> for &'expr DevAddr
impl<'expr> AsExpression<Binary> for &'expr DevAddr
§type Expression = Bound<Binary, &'expr DevAddr>
type Expression = Bound<Binary, &'expr DevAddr>
The expression being returned
source§fn as_expression(self) -> Self::Expression
fn as_expression(self) -> Self::Expression
Perform the conversion
source§impl AsExpression<Binary> for DevAddr
impl AsExpression<Binary> for DevAddr
§type Expression = Bound<Binary, DevAddr>
type Expression = Bound<Binary, DevAddr>
The expression being returned
source§fn as_expression(self) -> Self::Expression
fn as_expression(self) -> Self::Expression
Perform the conversion
source§impl<'expr> AsExpression<Nullable<Binary>> for &'expr DevAddr
impl<'expr> AsExpression<Nullable<Binary>> for &'expr DevAddr
§type Expression = Bound<Nullable<Binary>, &'expr DevAddr>
type Expression = Bound<Nullable<Binary>, &'expr DevAddr>
The expression being returned
source§fn as_expression(self) -> Self::Expression
fn as_expression(self) -> Self::Expression
Perform the conversion
source§impl AsExpression<Nullable<Binary>> for DevAddr
impl AsExpression<Nullable<Binary>> for DevAddr
§type Expression = Bound<Nullable<Binary>, DevAddr>
type Expression = Bound<Nullable<Binary>, DevAddr>
The expression being returned
source§fn as_expression(self) -> Self::Expression
fn as_expression(self) -> Self::Expression
Perform the conversion
source§impl PartialEq for DevAddr
impl PartialEq for DevAddr
impl Copy for DevAddr
impl Eq for DevAddr
impl StructuralPartialEq for DevAddr
Auto Trait Implementations§
impl Freeze for DevAddr
impl RefUnwindSafe for DevAddr
impl Send for DevAddr
impl Sync for DevAddr
impl Unpin for DevAddr
impl UnwindSafe for DevAddr
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, ST, DB> FromSqlRow<ST, DB> for Twhere
T: Queryable<ST, DB>,
ST: SqlTypeOrSelectable,
DB: Backend,
<T as Queryable<ST, DB>>::Row: FromStaticSqlRow<ST, DB>,
impl<T, ST, DB> FromSqlRow<ST, DB> for Twhere
T: Queryable<ST, DB>,
ST: SqlTypeOrSelectable,
DB: Backend,
<T as Queryable<ST, DB>>::Row: FromStaticSqlRow<ST, DB>,
source§impl<T, ST, DB> FromStaticSqlRow<ST, DB> for T
impl<T, ST, DB> FromStaticSqlRow<ST, DB> for T
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 moresource§impl<T, ST, DB> StaticallySizedRow<ST, DB> for T
impl<T, ST, DB> StaticallySizedRow<ST, DB> for T
source§const FIELD_COUNT: usize = <ST as crate::util::TupleSize>::SIZE
const FIELD_COUNT: usize = <ST as crate::util::TupleSize>::SIZE
The number of fields that this type will consume.