Enum ChunkValue
pub enum ChunkValue {
Json(Value),
Bytes(Vec<u8>),
}Expand description
A chunk’s value: JSON, or bytes.
Variants§
Trait Implementations§
§impl Clone for ChunkValue
impl Clone for ChunkValue
§fn clone(&self) -> ChunkValue
fn clone(&self) -> ChunkValue
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for ChunkValue
impl Debug for ChunkValue
§impl PartialEq for ChunkValue
impl PartialEq for ChunkValue
impl StructuralPartialEq for ChunkValue
Auto Trait Implementations§
impl Freeze for ChunkValue
impl RefUnwindSafe for ChunkValue
impl Send for ChunkValue
impl Sync for ChunkValue
impl Unpin for ChunkValue
impl UnsafeUnpin for ChunkValue
impl UnwindSafe for ChunkValue
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