Struct nrf_softdevice_s140::ble_gatts_value_t 
source · #[repr(C)]pub struct ble_gatts_value_t {
    pub len: u16,
    pub offset: u16,
    pub p_value: *mut u8,
}Expand description
@brief GATT Attribute Value.
Fields§
§len: u16< Length in bytes to be written or read. Length in bytes written or read after successful return.
offset: u16< Attribute value offset.
p_value: *mut u8< Pointer to where value is stored or will be stored. If value is stored in user memory, only the attribute length is updated when p_value == NULL. Set to NULL when reading to obtain the complete length of the attribute value
Trait Implementations§
source§impl Clone for ble_gatts_value_t
 
impl Clone for ble_gatts_value_t
source§fn clone(&self) -> ble_gatts_value_t
 
fn clone(&self) -> ble_gatts_value_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 more