pub struct WsEndpoint {
pub url: String,
pub protocol: WsProtocol,
pub auth_method: WsAuth,
pub discovered_from: String,
pub confidence: f32,
}Expand description
A discovered WebSocket endpoint.
Fields§
§url: StringThe WebSocket URL (wss:// or ws://).
protocol: WsProtocolThe protocol/library used.
auth_method: WsAuthAuthentication method.
discovered_from: StringWhich source this was discovered from.
confidence: f32Confidence that this is a real endpoint, in [0.0, 1.0].
Trait Implementations§
Source§impl Clone for WsEndpoint
impl Clone for WsEndpoint
Source§fn clone(&self) -> WsEndpoint
fn clone(&self) -> WsEndpoint
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 moreSource§impl Debug for WsEndpoint
impl Debug for WsEndpoint
Source§impl<'de> Deserialize<'de> for WsEndpoint
impl<'de> Deserialize<'de> for WsEndpoint
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for WsEndpoint
impl RefUnwindSafe for WsEndpoint
impl Send for WsEndpoint
impl Sync for WsEndpoint
impl Unpin for WsEndpoint
impl UnsafeUnpin for WsEndpoint
impl UnwindSafe for WsEndpoint
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