pub struct WebSocketEndpoint {
pub url: String,
}Fields§
§url: StringImplementations§
Source§impl WebSocketEndpoint
impl WebSocketEndpoint
pub fn from_cm_server(server: &CmServer) -> Self
Trait Implementations§
Source§impl Clone for WebSocketEndpoint
impl Clone for WebSocketEndpoint
Source§fn clone(&self) -> WebSocketEndpoint
fn clone(&self) -> WebSocketEndpoint
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WebSocketEndpoint
impl Debug for WebSocketEndpoint
impl Eq for WebSocketEndpoint
Source§impl PartialEq for WebSocketEndpoint
impl PartialEq for WebSocketEndpoint
Source§fn eq(&self, other: &WebSocketEndpoint) -> bool
fn eq(&self, other: &WebSocketEndpoint) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for WebSocketEndpoint
Auto Trait Implementations§
impl Freeze for WebSocketEndpoint
impl RefUnwindSafe for WebSocketEndpoint
impl Send for WebSocketEndpoint
impl Sync for WebSocketEndpoint
impl Unpin for WebSocketEndpoint
impl UnsafeUnpin for WebSocketEndpoint
impl UnwindSafe for WebSocketEndpoint
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