pub struct RichDataItem {
pub kind: String,
pub extra: Value,
}Expand description
Rich data item returned with completed jobs.
Fields§
§kind: StringType discriminator (e.g. "token_info", "chart").
extra: ValueRemaining fields vary by type.
Trait Implementations§
Source§impl Clone for RichDataItem
impl Clone for RichDataItem
Source§fn clone(&self) -> RichDataItem
fn clone(&self) -> RichDataItem
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 moreSource§impl Debug for RichDataItem
impl Debug for RichDataItem
Source§impl<'de> Deserialize<'de> for RichDataItem
impl<'de> Deserialize<'de> for RichDataItem
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 RichDataItem
impl RefUnwindSafe for RichDataItem
impl Send for RichDataItem
impl Sync for RichDataItem
impl Unpin for RichDataItem
impl UnsafeUnpin for RichDataItem
impl UnwindSafe for RichDataItem
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