pub struct HostContext {
pub protocol: String,
pub host_id: String,
pub boot_id: String,
pub probe_id: String,
pub server_time: u64,
}Fields§
§protocol: String§host_id: String§boot_id: String§probe_id: String§server_time: u64Trait Implementations§
Source§impl Clone for HostContext
impl Clone for HostContext
Source§fn clone(&self) -> HostContext
fn clone(&self) -> HostContext
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 HostContext
impl Debug for HostContext
Source§impl<'de> Deserialize<'de> for HostContext
impl<'de> Deserialize<'de> for HostContext
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
impl Eq for HostContext
Source§impl PartialEq for HostContext
impl PartialEq for HostContext
Source§impl Serialize for HostContext
impl Serialize for HostContext
impl StructuralPartialEq for HostContext
Auto Trait Implementations§
impl Freeze for HostContext
impl RefUnwindSafe for HostContext
impl Send for HostContext
impl Sync for HostContext
impl Unpin for HostContext
impl UnsafeUnpin for HostContext
impl UnwindSafe for HostContext
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