pub struct DirectTCPSocketChunkSentEventParamsBuilder { /* private fields */ }Expand description
Builder for DirectTCPSocketChunkSentEventParams.
Implementations§
Source§impl DirectTCPSocketChunkSentEventParamsBuilder
impl DirectTCPSocketChunkSentEventParamsBuilder
pub fn identifier(&mut self, value: RequestId) -> &mut Self
pub fn data(&mut self, value: String) -> &mut Self
pub fn timestamp(&mut self, value: MonotonicTime) -> &mut Self
Sourcepub fn build(
&self,
) -> Result<DirectTCPSocketChunkSentEventParams, DirectTCPSocketChunkSentEventParamsBuilderError>
pub fn build( &self, ) -> Result<DirectTCPSocketChunkSentEventParams, DirectTCPSocketChunkSentEventParamsBuilderError>
Builds a new DirectTCPSocketChunkSentEventParams.
§Errors
If a required field has not been initialized.
Trait Implementations§
Source§impl Clone for DirectTCPSocketChunkSentEventParamsBuilder
impl Clone for DirectTCPSocketChunkSentEventParamsBuilder
Source§fn clone(&self) -> DirectTCPSocketChunkSentEventParamsBuilder
fn clone(&self) -> DirectTCPSocketChunkSentEventParamsBuilder
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 DirectTCPSocketChunkSentEventParamsBuilder
impl RefUnwindSafe for DirectTCPSocketChunkSentEventParamsBuilder
impl Send for DirectTCPSocketChunkSentEventParamsBuilder
impl Sync for DirectTCPSocketChunkSentEventParamsBuilder
impl Unpin for DirectTCPSocketChunkSentEventParamsBuilder
impl UnsafeUnpin for DirectTCPSocketChunkSentEventParamsBuilder
impl UnwindSafe for DirectTCPSocketChunkSentEventParamsBuilder
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