Struct rustot::ota::encoding::cbor::GetStreamRequest[][src]

pub struct GetStreamRequest<'a> {
    pub client_token: Option<&'a str>,
    pub stream_version: Option<u8>,
    pub file_id: u8,
    pub block_size: usize,
    pub block_offset: Option<u32>,
    pub block_bitmap: Option<&'a Bitmap>,
    pub number_of_blocks: Option<u32>,
}

Fields

client_token: Option<&'a str>stream_version: Option<u8>file_id: u8block_size: usizeblock_offset: Option<u32>block_bitmap: Option<&'a Bitmap>number_of_blocks: Option<u32>

Trait Implementations

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.