pub struct BandwidthRequestBitmap {
pub data: [u8; 5],
}
Expand description
Bitmap which describes which values from the predefined list are being requested. The nth bit is set to 1 when the nth value from the list is being requested.
JSON schema
{
"description": "Bitmap which describes which values from the predefined list are being requested.\nThe nth bit is set to 1 when the nth value from the list is being requested.",
"type": "object",
"required": [
"data"
],
"properties": {
"data": {
"type": "array",
"items": {
"type": "integer",
"format": "uint8",
"maximum": 255.0,
"minimum": 0.0
},
"maxItems": 5,
"minItems": 5
}
}
}
Fields§
§data: [u8; 5]
Trait Implementations§
Source§impl Clone for BandwidthRequestBitmap
impl Clone for BandwidthRequestBitmap
Source§fn clone(&self) -> BandwidthRequestBitmap
fn clone(&self) -> BandwidthRequestBitmap
Returns a duplicate 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 BandwidthRequestBitmap
impl Debug for BandwidthRequestBitmap
Source§impl<'de> Deserialize<'de> for BandwidthRequestBitmap
impl<'de> Deserialize<'de> for BandwidthRequestBitmap
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&BandwidthRequestBitmap> for BandwidthRequestBitmap
impl From<&BandwidthRequestBitmap> for BandwidthRequestBitmap
Source§fn from(value: &BandwidthRequestBitmap) -> Self
fn from(value: &BandwidthRequestBitmap) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for BandwidthRequestBitmap
impl RefUnwindSafe for BandwidthRequestBitmap
impl Send for BandwidthRequestBitmap
impl Sync for BandwidthRequestBitmap
impl Unpin for BandwidthRequestBitmap
impl UnwindSafe for BandwidthRequestBitmap
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