pub enum PropertyValue<'a> {
Varint(u64),
Bytes(&'a [u8]),
Immutable {
bytes: &'a [u8],
properties: Vec<ObjectProperty<'a>>,
},
}Expand description
A property’s value.
Variants§
Varint(u64)
The value of an even Type.
Bytes(&'a [u8])
The value of an odd Type, borrowed from the block.
Immutable
Immutable Properties: the raw value, and its contents read by the same rules.
Fields
§
properties: Vec<ObjectProperty<'a>>The properties inside it, in wire order.
Trait Implementations§
Source§impl<'a> Clone for PropertyValue<'a>
impl<'a> Clone for PropertyValue<'a>
Source§impl<'a> Debug for PropertyValue<'a>
impl<'a> Debug for PropertyValue<'a>
impl<'a> Eq for PropertyValue<'a>
Source§impl<'a> PartialEq for PropertyValue<'a>
impl<'a> PartialEq for PropertyValue<'a>
impl<'a> StructuralPartialEq for PropertyValue<'a>
Auto Trait Implementations§
impl<'a> Freeze for PropertyValue<'a>
impl<'a> RefUnwindSafe for PropertyValue<'a>
impl<'a> Send for PropertyValue<'a>
impl<'a> Sync for PropertyValue<'a>
impl<'a> Unpin for PropertyValue<'a>
impl<'a> UnsafeUnpin for PropertyValue<'a>
impl<'a> UnwindSafe for PropertyValue<'a>
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