Struct databento::live::Subscription
source · pub struct Subscription {
pub symbols: Symbols,
pub schema: Schema,
pub stype_in: SType,
pub start: Option<OffsetDateTime>,
}Expand description
A subscription for real-time or intraday historical data.
Fields§
§symbols: SymbolsThe symbols of the instruments to subscribe to.
schema: SchemaThe schema of data to subscribe to.
stype_in: STypeThe symbology type of symbols in symbols.
start: Option<OffsetDateTime>If specified, requests available data since that time. When None,
only real-time data is sent.
Setting this field is not supported once the session has been started with
LiveClient::start.
Implementations§
source§impl Subscription
impl Subscription
Trait Implementations§
source§impl Clone for Subscription
impl Clone for Subscription
source§fn clone(&self) -> Subscription
fn clone(&self) -> Subscription
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 moreAuto Trait Implementations§
impl RefUnwindSafe for Subscription
impl Send for Subscription
impl Sync for Subscription
impl Unpin for Subscription
impl UnwindSafe for Subscription
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