pub struct BookSubscription {
pub channel: String,
pub symbol: Vec<String>,
pub depth: Option<i32>,
pub snapshot: Option<bool>,
pub token: Option<Token>,
}
Fields§
§channel: String
§symbol: Vec<String>
§depth: Option<i32>
§snapshot: Option<bool>
§token: Option<Token>
only needed for L3 subscription
Implementations§
Trait Implementations§
Source§impl Clone for BookSubscription
impl Clone for BookSubscription
Source§fn clone(&self) -> BookSubscription
fn clone(&self) -> BookSubscription
Returns a copy 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 BookSubscription
impl Debug for BookSubscription
Auto Trait Implementations§
impl Freeze for BookSubscription
impl RefUnwindSafe for BookSubscription
impl Send for BookSubscription
impl Sync for BookSubscription
impl Unpin for BookSubscription
impl UnwindSafe for BookSubscription
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