Struct libcoap_sys::coap_option
source · #[repr(C)]pub struct coap_option {
pub key: u16,
pub length: c_uint,
}
Fields§
§key: u16
§length: c_uint
Trait Implementations§
source§impl Clone for coap_option
impl Clone for coap_option
source§fn clone(&self) -> coap_option
fn clone(&self) -> coap_option
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 coap_option
impl Debug for coap_option
impl Copy for coap_option
Auto Trait Implementations§
impl RefUnwindSafe for coap_option
impl Send for coap_option
impl Sync for coap_option
impl Unpin for coap_option
impl UnwindSafe for coap_option
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