pub struct StreamGetKeepAliveData {
pub timestamp: u64,
}
Fields§
§timestamp: u64
Current timestamp
Implementations§
Source§impl StreamGetKeepAliveData
impl StreamGetKeepAliveData
Sourcepub fn with_timestamp(self, value: impl Into<u64>) -> Self
pub fn with_timestamp(self, value: impl Into<u64>) -> Self
Sets the timestamp
field of this struct.
Trait Implementations§
Source§impl Clone for StreamGetKeepAliveData
impl Clone for StreamGetKeepAliveData
Source§fn clone(&self) -> StreamGetKeepAliveData
fn clone(&self) -> StreamGetKeepAliveData
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 StreamGetKeepAliveData
impl Debug for StreamGetKeepAliveData
Source§impl Default for StreamGetKeepAliveData
impl Default for StreamGetKeepAliveData
Source§fn default() -> StreamGetKeepAliveData
fn default() -> StreamGetKeepAliveData
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StreamGetKeepAliveData
impl<'de> Deserialize<'de> for StreamGetKeepAliveData
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 StreamGetKeepAliveData
impl PartialEq for StreamGetKeepAliveData
Source§impl Serialize for StreamGetKeepAliveData
impl Serialize for StreamGetKeepAliveData
impl StructuralPartialEq for StreamGetKeepAliveData
Auto Trait Implementations§
impl Freeze for StreamGetKeepAliveData
impl RefUnwindSafe for StreamGetKeepAliveData
impl Send for StreamGetKeepAliveData
impl Sync for StreamGetKeepAliveData
impl Unpin for StreamGetKeepAliveData
impl UnwindSafe for StreamGetKeepAliveData
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