pub struct SendDataBuilder { /* private fields */ }Implementations§
Source§impl SendDataBuilder
impl SendDataBuilder
pub fn new( size: usize, tracer_payload: TracerPayloadCollection, tracer_header_tags: TracerHeaderTags<'_>, target: &Endpoint, ) -> SendDataBuilder
pub fn with_api_key(self, api_key: &str) -> SendDataBuilder
pub fn with_retry_strategy( self, retry_strategy: RetryStrategy, ) -> SendDataBuilder
pub fn build(self) -> SendData
Trait Implementations§
Source§impl Clone for SendDataBuilder
impl Clone for SendDataBuilder
Source§fn clone(&self) -> SendDataBuilder
fn clone(&self) -> SendDataBuilder
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 moreAuto Trait Implementations§
impl !Freeze for SendDataBuilder
impl RefUnwindSafe for SendDataBuilder
impl Send for SendDataBuilder
impl Sync for SendDataBuilder
impl Unpin for SendDataBuilder
impl UnwindSafe for SendDataBuilder
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