pub enum VectorInput {
RawBytes(Vec<u8>),
TupleFields(Vec<(String, Vec<u8>)>),
TreeEntries(Vec<VectorTreeEntry>),
}Expand description
Owned form of the language-neutral vector input encodings.
Variants§
RawBytes(Vec<u8>)
{"encoding": "utf8", "data": "..."} and {"encoding": "hex", ...}.
TupleFields(Vec<(String, Vec<u8>)>)
{"encoding": "tuple", "fields": [{"label", "valueUtf8"|"valueHex"}]}.
TreeEntries(Vec<VectorTreeEntry>)
{"encoding": "tree", "entries": [{"path", "bytesHex", "type"}]}.
Trait Implementations§
Source§impl Clone for VectorInput
impl Clone for VectorInput
Source§fn clone(&self) -> VectorInput
fn clone(&self) -> VectorInput
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 VectorInput
impl Debug for VectorInput
impl Eq for VectorInput
Source§impl PartialEq for VectorInput
impl PartialEq for VectorInput
impl StructuralPartialEq for VectorInput
Auto Trait Implementations§
impl Freeze for VectorInput
impl RefUnwindSafe for VectorInput
impl Send for VectorInput
impl Sync for VectorInput
impl Unpin for VectorInput
impl UnsafeUnpin for VectorInput
impl UnwindSafe for VectorInput
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