pub struct AcceptedEventParamsBuilder { /* private fields */ }Expand description
Builder for AcceptedEventParams.
Implementations§
Source§impl AcceptedEventParamsBuilder
impl AcceptedEventParamsBuilder
Sourcepub fn connection_id(&mut self, value: String) -> &mut Self
pub fn connection_id(&mut self, value: String) -> &mut Self
Connection id to be used.
Sourcepub fn build(
&self,
) -> Result<AcceptedEventParams, AcceptedEventParamsBuilderError>
pub fn build( &self, ) -> Result<AcceptedEventParams, AcceptedEventParamsBuilderError>
Trait Implementations§
Source§impl Clone for AcceptedEventParamsBuilder
impl Clone for AcceptedEventParamsBuilder
Source§fn clone(&self) -> AcceptedEventParamsBuilder
fn clone(&self) -> AcceptedEventParamsBuilder
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 AcceptedEventParamsBuilder
impl RefUnwindSafe for AcceptedEventParamsBuilder
impl Send for AcceptedEventParamsBuilder
impl Sync for AcceptedEventParamsBuilder
impl Unpin for AcceptedEventParamsBuilder
impl UnsafeUnpin for AcceptedEventParamsBuilder
impl UnwindSafe for AcceptedEventParamsBuilder
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