pub struct ServerRecord<P = Value> {
pub room_id: String,
pub seq: u64,
pub pre_hash: Option<String>,
pub hash: String,
pub received_at: i64,
pub envelope: Envelope<P>,
}Fields§
§room_id: String§seq: u64§pre_hash: Option<String>§hash: String§received_at: i64§envelope: Envelope<P>Trait Implementations§
Source§impl<P: Clone> Clone for ServerRecord<P>
impl<P: Clone> Clone for ServerRecord<P>
Source§fn clone(&self) -> ServerRecord<P>
fn clone(&self) -> ServerRecord<P>
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<P: Debug> Debug for ServerRecord<P>
impl<P: Debug> Debug for ServerRecord<P>
Source§impl<'de, P> Deserialize<'de> for ServerRecord<P>where
P: Deserialize<'de>,
impl<'de, P> Deserialize<'de> for ServerRecord<P>where
P: Deserialize<'de>,
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<P> Freeze for ServerRecord<P>
impl<P> RefUnwindSafe for ServerRecord<P>where
Envelope<P>: RefUnwindSafe,
impl<P> Send for ServerRecord<P>
impl<P> Sync for ServerRecord<P>
impl<P> Unpin for ServerRecord<P>
impl<P> UnsafeUnpin for ServerRecord<P>where
Envelope<P>: UnsafeUnpin,
impl<P> UnwindSafe for ServerRecord<P>where
Envelope<P>: UnwindSafe,
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