pub struct DiscoveredGateway {
pub path: String,
pub path_shape: String,
pub namespace: Option<String>,
pub module_name: Option<String>,
pub events: Vec<String>,
pub metadata: BTreeMap<String, Value>,
pub event_metadata: BTreeMap<String, BTreeMap<String, Value>>,
}Expand description
Snapshot of a resolved WebSocket gateway.
Fields§
§path: String§path_shape: String§namespace: Option<String>§module_name: Option<String>§events: Vec<String>§metadata: BTreeMap<String, Value>§event_metadata: BTreeMap<String, BTreeMap<String, Value>>Trait Implementations§
Source§impl Clone for DiscoveredGateway
impl Clone for DiscoveredGateway
Source§fn clone(&self) -> DiscoveredGateway
fn clone(&self) -> DiscoveredGateway
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 DiscoveredGateway
impl Debug for DiscoveredGateway
Source§impl PartialEq for DiscoveredGateway
impl PartialEq for DiscoveredGateway
impl StructuralPartialEq for DiscoveredGateway
Auto Trait Implementations§
impl Freeze for DiscoveredGateway
impl RefUnwindSafe for DiscoveredGateway
impl Send for DiscoveredGateway
impl Sync for DiscoveredGateway
impl Unpin for DiscoveredGateway
impl UnsafeUnpin for DiscoveredGateway
impl UnwindSafe for DiscoveredGateway
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