pub struct DashboardData {
pub source: String,
pub data: Value,
pub timestamp: SystemTime,
}Expand description
Dashboard data for real-time updates
Fields§
§source: StringData source identifier
data: ValueData payload
timestamp: SystemTimeTimestamp
Trait Implementations§
Source§impl Clone for DashboardData
impl Clone for DashboardData
Source§fn clone(&self) -> DashboardData
fn clone(&self) -> DashboardData
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 DashboardData
impl Debug for DashboardData
Source§impl<'de> Deserialize<'de> for DashboardData
impl<'de> Deserialize<'de> for DashboardData
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 DashboardData
impl RefUnwindSafe for DashboardData
impl Send for DashboardData
impl Sync for DashboardData
impl Unpin for DashboardData
impl UnwindSafe for DashboardData
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