pub struct ExportConfig {
pub format: ExportFormat,
pub from_block: Option<u64>,
pub to_block: Option<u64>,
pub schema_filter: Vec<String>,
pub address_filter: Vec<String>,
}Expand description
Configuration for a data export operation.
Fields§
§format: ExportFormatOutput format.
from_block: Option<u64>Only export events from blocks >= this number.
to_block: Option<u64>Only export events from blocks <= this number.
schema_filter: Vec<String>Only export events matching these schema names (empty = all).
address_filter: Vec<String>Only export events from these addresses (empty = all).
Trait Implementations§
Source§impl Clone for ExportConfig
impl Clone for ExportConfig
Source§fn clone(&self) -> ExportConfig
fn clone(&self) -> ExportConfig
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 ExportConfig
impl Debug for ExportConfig
Auto Trait Implementations§
impl Freeze for ExportConfig
impl RefUnwindSafe for ExportConfig
impl Send for ExportConfig
impl Sync for ExportConfig
impl Unpin for ExportConfig
impl UnsafeUnpin for ExportConfig
impl UnwindSafe for ExportConfig
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