pub struct Hello {
pub heartbeat_interval: u64,
}
Fields§
§heartbeat_interval: u64
Trait Implementations§
source§impl<'de> Deserialize<'de> for Hello
impl<'de> Deserialize<'de> for Hello
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<Hello> for Hello
impl PartialEq<Hello> for Hello
impl Eq for Hello
impl StructuralEq for Hello
impl StructuralPartialEq for Hello
Auto Trait Implementations§
impl RefUnwindSafe for Hello
impl Send for Hello
impl Sync for Hello
impl Unpin for Hello
impl UnwindSafe for Hello
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