pub struct DataPayload {
pub data: Value,
}Expand description
Data payload (channel-specific, parsed later)
Fields§
§data: ValueRaw data to be parsed based on channel
Trait Implementations§
Source§impl Clone for DataPayload
impl Clone for DataPayload
Source§fn clone(&self) -> DataPayload
fn clone(&self) -> DataPayload
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 DataPayload
impl Debug for DataPayload
Source§impl<'de> Deserialize<'de> for DataPayload
impl<'de> Deserialize<'de> for DataPayload
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for DataPayload
impl RefUnwindSafe for DataPayload
impl Send for DataPayload
impl Sync for DataPayload
impl Unpin for DataPayload
impl UnsafeUnpin for DataPayload
impl UnwindSafe for DataPayload
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