pub struct PostgresToDuckDbSnapshotConfig {Show 13 fields
pub postgres_url: String,
pub mode: BinanceMode,
pub base_dir: String,
pub symbols: Vec<String>,
pub from: NaiveDate,
pub to: NaiveDate,
pub product: Option<String>,
pub interval_name: Option<String>,
pub include_klines: bool,
pub include_liquidations: bool,
pub include_book_tickers: bool,
pub include_agg_trades: bool,
pub clear_duckdb_range: bool,
}Fields§
§postgres_url: String§mode: BinanceMode§base_dir: String§symbols: Vec<String>§from: NaiveDate§to: NaiveDate§product: Option<String>§interval_name: Option<String>§include_klines: bool§include_liquidations: bool§include_book_tickers: bool§include_agg_trades: bool§clear_duckdb_range: boolTrait Implementations§
Source§impl Clone for PostgresToDuckDbSnapshotConfig
impl Clone for PostgresToDuckDbSnapshotConfig
Source§fn clone(&self) -> PostgresToDuckDbSnapshotConfig
fn clone(&self) -> PostgresToDuckDbSnapshotConfig
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 PartialEq for PostgresToDuckDbSnapshotConfig
impl PartialEq for PostgresToDuckDbSnapshotConfig
Source§fn eq(&self, other: &PostgresToDuckDbSnapshotConfig) -> bool
fn eq(&self, other: &PostgresToDuckDbSnapshotConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PostgresToDuckDbSnapshotConfig
Auto Trait Implementations§
impl Freeze for PostgresToDuckDbSnapshotConfig
impl RefUnwindSafe for PostgresToDuckDbSnapshotConfig
impl Send for PostgresToDuckDbSnapshotConfig
impl Sync for PostgresToDuckDbSnapshotConfig
impl Unpin for PostgresToDuckDbSnapshotConfig
impl UnsafeUnpin for PostgresToDuckDbSnapshotConfig
impl UnwindSafe for PostgresToDuckDbSnapshotConfig
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