pub struct TransportOptions {
pub endpoint: Option<String>,
pub api_key: Option<String>,
pub flush_interval: Option<Duration>,
pub max_batch_size: Option<usize>,
}Expand description
Transport configuration surface for batch uploads.
Fields§
§endpoint: Option<String>§api_key: Option<String>§flush_interval: Option<Duration>§max_batch_size: Option<usize>Trait Implementations§
Source§impl Clone for TransportOptions
impl Clone for TransportOptions
Source§fn clone(&self) -> TransportOptions
fn clone(&self) -> TransportOptions
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 TransportOptions
impl Debug for TransportOptions
Auto Trait Implementations§
impl Freeze for TransportOptions
impl RefUnwindSafe for TransportOptions
impl Send for TransportOptions
impl Sync for TransportOptions
impl Unpin for TransportOptions
impl UnwindSafe for TransportOptions
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