pub enum AltKind {
Message(Vec<Field>),
String {
text: String,
decoded: Option<Box<Node>>,
},
PackedVarint(Vec<u64>),
PackedFixed32(Vec<u32>),
PackedFixed64(Vec<u64>),
Bytes {
decoded: Option<Box<Node>>,
},
Empty,
}Variants§
Message(Vec<Field>)
String
Fields
PackedVarint(Vec<u64>)
PackedFixed32(Vec<u32>)
Little-endian 4-byte values (packed fixed32 / sfixed32 / float).
PackedFixed64(Vec<u64>)
Little-endian 8-byte values (packed fixed64 / sfixed64 / double).
Bytes
Fields
Empty
Implementations§
Trait Implementations§
impl StructuralPartialEq for AltKind
Auto Trait Implementations§
impl Forget for AltKind
impl Freeze for AltKind
impl Move for AltKind
impl RefUnwindSafe for AltKind
impl Send for AltKind
impl Sync for AltKind
impl Unpin for AltKind
impl UnsafeUnpin for AltKind
impl UnwindSafe for AltKind
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