#[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 get_url(&self) -> &Option<String>
pub fn get_url(&self) -> &Option<String>
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 for MessagingSessionEndpointBuilder
impl PartialEq 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 Freeze for MessagingSessionEndpointBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.