#[non_exhaustive]pub struct MessagingSessionEndpointBuilder { /* private fields */ }Expand description
A builder for MessagingSessionEndpoint.
Implementations§
source§impl MessagingSessionEndpointBuilder
impl MessagingSessionEndpointBuilder
sourcepub fn url(self, input: impl Into<String>) -> Self
pub fn url(self, input: impl Into<String>) -> Self
The endpoint to which you establish a websocket connection.
sourcepub fn set_url(self, input: Option<String>) -> Self
pub fn set_url(self, input: Option<String>) -> Self
The endpoint to which you establish a websocket connection.
sourcepub fn build(self) -> MessagingSessionEndpoint
pub fn build(self) -> MessagingSessionEndpoint
Consumes the builder and constructs a MessagingSessionEndpoint.
Trait Implementations§
source§impl Clone for MessagingSessionEndpointBuilder
impl Clone for MessagingSessionEndpointBuilder
source§fn clone(&self) -> MessagingSessionEndpointBuilder
fn clone(&self) -> MessagingSessionEndpointBuilder
Returns a copy 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 Default for MessagingSessionEndpointBuilder
impl Default for MessagingSessionEndpointBuilder
source§fn default() -> MessagingSessionEndpointBuilder
fn default() -> MessagingSessionEndpointBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<MessagingSessionEndpointBuilder> for MessagingSessionEndpointBuilder
impl PartialEq<MessagingSessionEndpointBuilder> for MessagingSessionEndpointBuilder
source§fn eq(&self, other: &MessagingSessionEndpointBuilder) -> bool
fn eq(&self, other: &MessagingSessionEndpointBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for MessagingSessionEndpointBuilder
Auto Trait Implementations§
impl RefUnwindSafe for MessagingSessionEndpointBuilder
impl Send for MessagingSessionEndpointBuilder
impl Sync for MessagingSessionEndpointBuilder
impl Unpin for MessagingSessionEndpointBuilder
impl UnwindSafe for MessagingSessionEndpointBuilder
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