pub struct RecorderStatus {Show 14 fields
pub mode: BinanceMode,
pub state: RecorderState,
pub db_path: PathBuf,
pub storage_backend: String,
pub storage_target: String,
pub started_at: Option<DateTime<Utc>>,
pub updated_at: DateTime<Utc>,
pub manual_symbols: Vec<String>,
pub strategy_symbols: Vec<String>,
pub watched_symbols: Vec<String>,
pub worker_alive: bool,
pub heartbeat_age_sec: i64,
pub last_error: Option<String>,
pub metrics: RecorderMetrics,
}Fields§
§mode: BinanceMode§state: RecorderState§db_path: PathBuf§storage_backend: String§storage_target: String§started_at: Option<DateTime<Utc>>§updated_at: DateTime<Utc>§manual_symbols: Vec<String>§strategy_symbols: Vec<String>§watched_symbols: Vec<String>§worker_alive: bool§heartbeat_age_sec: i64§last_error: Option<String>§metrics: RecorderMetricsTrait Implementations§
Source§impl Clone for RecorderStatus
impl Clone for RecorderStatus
Source§fn clone(&self) -> RecorderStatus
fn clone(&self) -> RecorderStatus
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 RecorderStatus
impl Debug for RecorderStatus
Source§impl PartialEq for RecorderStatus
impl PartialEq for RecorderStatus
impl Eq for RecorderStatus
impl StructuralPartialEq for RecorderStatus
Auto Trait Implementations§
impl Freeze for RecorderStatus
impl RefUnwindSafe for RecorderStatus
impl Send for RecorderStatus
impl Sync for RecorderStatus
impl Unpin for RecorderStatus
impl UnsafeUnpin for RecorderStatus
impl UnwindSafe for RecorderStatus
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.