pub struct ProtocolPublish {
pub authored_at_secs: Option<u64>,
pub event: Event,
pub chat_id: String,
pub inner_event_id: Option<String>,
}Fields§
Original plaintext timestamp, preserved when sealing happens on a later retry.
event: Event§chat_id: String§inner_event_id: Option<String>Trait Implementations§
Source§impl Clone for ProtocolPublish
impl Clone for ProtocolPublish
Source§impl Debug for ProtocolPublish
impl Debug for ProtocolPublish
Source§impl<'de> Deserialize<'de> for ProtocolPublish
impl<'de> Deserialize<'de> for ProtocolPublish
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 !Freeze for ProtocolPublish
impl RefUnwindSafe for ProtocolPublish
impl Send for ProtocolPublish
impl Sync for ProtocolPublish
impl Unpin for ProtocolPublish
impl UnsafeUnpin for ProtocolPublish
impl UnwindSafe for ProtocolPublish
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