pub struct StreamingMetadata {
pub protocol: Protocol,
pub connection_id: String,
pub server_info: Option<String>,
pub subscriptions: Vec<String>,
pub connected: bool,
}Expand description
Metadata about a streaming connection
Fields§
§protocol: ProtocolProtocol being used
connection_id: StringConnection identifier
server_info: Option<String>Server information
subscriptions: Vec<String>Active subscriptions/topics
connected: boolConnection status
Trait Implementations§
Source§impl Clone for StreamingMetadata
impl Clone for StreamingMetadata
Source§fn clone(&self) -> StreamingMetadata
fn clone(&self) -> StreamingMetadata
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 moreAuto Trait Implementations§
impl Freeze for StreamingMetadata
impl RefUnwindSafe for StreamingMetadata
impl Send for StreamingMetadata
impl Sync for StreamingMetadata
impl Unpin for StreamingMetadata
impl UnwindSafe for StreamingMetadata
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