pub struct RecordAttribute {
pub components: Vec<RecordComponent>,
}Expand description
The ordered Record payload.
Fields§
§components: Vec<RecordComponent>Components in declaration order.
Implementations§
Source§impl RecordAttribute
impl RecordAttribute
Sourcepub fn decode(reader: &mut ByteReader<'_>) -> Result<Self, AttributeError>
pub fn decode(reader: &mut ByteReader<'_>) -> Result<Self, AttributeError>
Decode components and retain every nested attribute as exact bytes.
Trait Implementations§
Source§impl Clone for RecordAttribute
impl Clone for RecordAttribute
Source§fn clone(&self) -> RecordAttribute
fn clone(&self) -> RecordAttribute
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RecordAttribute
impl Debug for RecordAttribute
impl Eq for RecordAttribute
Source§impl PartialEq for RecordAttribute
impl PartialEq for RecordAttribute
impl StructuralPartialEq for RecordAttribute
Auto Trait Implementations§
impl Freeze for RecordAttribute
impl RefUnwindSafe for RecordAttribute
impl Send for RecordAttribute
impl Sync for RecordAttribute
impl Unpin for RecordAttribute
impl UnsafeUnpin for RecordAttribute
impl UnwindSafe for RecordAttribute
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