pub struct CollectionStatus {
pub exchange: String,
pub symbol: String,
pub data_types: Vec<DataType>,
pub connected: bool,
pub last_seen: Option<u64>,
pub stats: CollectionStats,
pub error_count: u32,
pub last_error: Option<String>,
}Expand description
Collection status for an exchange-symbol pair.
Fields§
§exchange: StringExchange name
symbol: StringSymbol name
data_types: Vec<DataType>Data types being collected
connected: boolWhether currently connected
last_seen: Option<u64>Timestamp of last data received in nanoseconds
stats: CollectionStatsCollection statistics
error_count: u32Number of errors encountered
last_error: Option<String>Last error message if any
Trait Implementations§
Source§impl Clone for CollectionStatus
impl Clone for CollectionStatus
Source§fn clone(&self) -> CollectionStatus
fn clone(&self) -> CollectionStatus
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for CollectionStatus
impl RefUnwindSafe for CollectionStatus
impl Send for CollectionStatus
impl Sync for CollectionStatus
impl Unpin for CollectionStatus
impl UnwindSafe for CollectionStatus
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