pub struct CollectionTask {
pub exchange: String,
pub symbol: String,
pub data_types: Vec<DataType>,
pub enabled: bool,
pub retry_count: u32,
pub max_retries: u32,
pub backoff_ms: u64,
}Expand description
Configuration for a specific collection task.
Fields§
§exchange: StringExchange name
symbol: StringSymbol name
data_types: Vec<DataType>Data types to collect
enabled: boolWhether this task is enabled
retry_count: u32Current retry count
max_retries: u32Maximum number of retries allowed
backoff_ms: u64Backoff time in milliseconds
Trait Implementations§
Source§impl Clone for CollectionTask
impl Clone for CollectionTask
Source§fn clone(&self) -> CollectionTask
fn clone(&self) -> CollectionTask
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 CollectionTask
impl RefUnwindSafe for CollectionTask
impl Send for CollectionTask
impl Sync for CollectionTask
impl Unpin for CollectionTask
impl UnwindSafe for CollectionTask
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