pub struct StreamClientInfo {
pub client_id: String,
pub ip_addr: Option<String>,
pub user_agent: Option<String>,
}Expand description
Stream client info (for IPC transfer)
Fields§
§client_id: String§ip_addr: Option<String>§user_agent: Option<String>Trait Implementations§
Source§impl Clone for StreamClientInfo
impl Clone for StreamClientInfo
Source§fn clone(&self) -> StreamClientInfo
fn clone(&self) -> StreamClientInfo
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 StreamClientInfo
impl Debug for StreamClientInfo
Source§impl<'de> Deserialize<'de> for StreamClientInfo
impl<'de> Deserialize<'de> for StreamClientInfo
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 StreamClientInfo
impl RefUnwindSafe for StreamClientInfo
impl Send for StreamClientInfo
impl Sync for StreamClientInfo
impl Unpin for StreamClientInfo
impl UnsafeUnpin for StreamClientInfo
impl UnwindSafe for StreamClientInfo
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