pub struct DatapointsStreamOptions {
pub batch_size: usize,
pub parallelism: usize,
}Expand description
Options for configuring the behavior of a DatapointsStream.
Fields§
§batch_size: usizeThe maximum number of timeseries to include in each request. Default is 100.
parallelism: usizeThe maximum number of requests to have in flight at any given time. Default is 4.
Trait Implementations§
Source§impl Clone for DatapointsStreamOptions
impl Clone for DatapointsStreamOptions
Source§fn clone(&self) -> DatapointsStreamOptions
fn clone(&self) -> DatapointsStreamOptions
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 DatapointsStreamOptions
impl Debug for DatapointsStreamOptions
Auto Trait Implementations§
impl Freeze for DatapointsStreamOptions
impl RefUnwindSafe for DatapointsStreamOptions
impl Send for DatapointsStreamOptions
impl Sync for DatapointsStreamOptions
impl Unpin for DatapointsStreamOptions
impl UnwindSafe for DatapointsStreamOptions
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