pub struct OnLatencyChangedParams {
pub id: String,
pub latency: usize,
}
Fields§
§id: String
§latency: usize
Trait Implementations§
Source§impl Clone for OnLatencyChangedParams
impl Clone for OnLatencyChangedParams
Source§fn clone(&self) -> OnLatencyChangedParams
fn clone(&self) -> OnLatencyChangedParams
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 OnLatencyChangedParams
impl Debug for OnLatencyChangedParams
Source§impl<'de> Deserialize<'de> for OnLatencyChangedParams
impl<'de> Deserialize<'de> for OnLatencyChangedParams
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
Source§impl PartialEq for OnLatencyChangedParams
impl PartialEq for OnLatencyChangedParams
Source§impl Serialize for OnLatencyChangedParams
impl Serialize for OnLatencyChangedParams
impl StructuralPartialEq for OnLatencyChangedParams
Auto Trait Implementations§
impl Freeze for OnLatencyChangedParams
impl RefUnwindSafe for OnLatencyChangedParams
impl Send for OnLatencyChangedParams
impl Sync for OnLatencyChangedParams
impl Unpin for OnLatencyChangedParams
impl UnwindSafe for OnLatencyChangedParams
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