Skip to main content

rustbac_client/
range.rs

1use crate::ClientDataValue;
2use rustbac_core::types::{ObjectId, PropertyId};
3
4#[derive(Debug, Clone, PartialEq)]
5pub struct ClientBitString {
6    pub unused_bits: u8,
7    pub data: Vec<u8>,
8}
9
10#[derive(Debug, Clone, PartialEq)]
11pub struct ReadRangeResult {
12    pub object_id: ObjectId,
13    pub property_id: PropertyId,
14    pub array_index: Option<u32>,
15    pub result_flags: ClientBitString,
16    pub item_count: u32,
17    pub items: Vec<ClientDataValue>,
18}