Struct riot_sys::coap_link_encoder_ctx_t
source · #[repr(C)]pub struct coap_link_encoder_ctx_t {
pub content_format: c_uint,
pub link_pos: size_t,
pub flags: u16,
}
Expand description
@brief Context information required to write a resource link
Fields§
§content_format: c_uint
< link format
link_pos: size_t
< position of link within listener
flags: u16
< encoder switches; see @ref COAP_LINK_FLAG_ constants
Trait Implementations§
source§impl Clone for coap_link_encoder_ctx_t
impl Clone for coap_link_encoder_ctx_t
source§fn clone(&self) -> coap_link_encoder_ctx_t
fn clone(&self) -> coap_link_encoder_ctx_t
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_link_encoder_ctx_t
impl Debug for coap_link_encoder_ctx_t
source§impl Default for coap_link_encoder_ctx_t
impl Default for coap_link_encoder_ctx_t
source§fn default() -> coap_link_encoder_ctx_t
fn default() -> coap_link_encoder_ctx_t
Returns the “default value” for a type. Read more