pub enum PayloadValue {
Empty,
Raw(Vec<u8>),
Json(String),
}Variants§
Trait Implementations§
Source§impl Clone for PayloadValue
impl Clone for PayloadValue
Source§fn clone(&self) -> PayloadValue
fn clone(&self) -> PayloadValue
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 moreAuto Trait Implementations§
impl Freeze for PayloadValue
impl RefUnwindSafe for PayloadValue
impl Send for PayloadValue
impl Sync for PayloadValue
impl Unpin for PayloadValue
impl UnwindSafe for PayloadValue
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