pub struct BasicList {
pub semantic: ListSemantic,
pub field_id: u16,
pub element_length: u16,
pub enterprise_number: Option<u32>,
pub basic_list_content: Vec<FieldValue>,
}Expand description
basicList - RFC 6313 Section 4.5.1
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Semantic |0| Field ID | Element... |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| ...Length | basicList Content ... |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| ... |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| ... |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+If the Enterprise bit of the Field ID is set, a four-byte Enterprise Number follows the Element Length (RFC 6313 Figure 2).
Fields§
§semantic: ListSemanticRelationship among the list elements
field_id: u16Information Element identifier of the list elements (Enterprise bit removed)
element_length: u16Length of each element, or 65535 if variable-length
enterprise_number: Option<u32>Private Enterprise Number, present if the Enterprise bit is set
basic_list_content: Vec<FieldValue>Decoded list elements
Trait Implementations§
impl StructuralPartialEq for BasicList
Auto Trait Implementations§
impl Freeze for BasicList
impl RefUnwindSafe for BasicList
impl Send for BasicList
impl Sync for BasicList
impl Unpin for BasicList
impl UnsafeUnpin for BasicList
impl UnwindSafe for BasicList
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