diff --git a/examples/bus-sub.rs b/examples/bus-sub.rs index bac6bd7..b98312f 100644 --- a/examples/bus-sub.rs +++ b/examples/bus-sub.rs @@ -16,6 +16,7 @@ async fn main() -> Result<()> { let ticker = Ticker { market: "BINANCE".to_string(), symbol: "BTCUSDT".to_string(), + quote_asset: None, }; let _obs = sx.stream().await?.filter(move |quote| quote.belongs_to(&ticker)).subscribe(|v| { diff --git a/lib/rustlers/rustler.rs b/lib/rustlers/rustler.rs index 45bf15b..164cf42 100644 --- a/lib/rustlers/rustler.rs +++ b/lib/rustlers/rustler.rs @@ -497,7 +497,7 @@ macro_rules! rustler { ) => { // Expand to the struct with derives and the fields $(#[$outer])* - #[derive(Debug, Clone, Default)] + #[derive(Default)] $vis struct $name { status: $crate::rustlers::RustlerStatus, next_run: $crate::rustlers::chrono::DateTime<$crate::rustlers::chrono::Local>,