pub struct ProtocolPublish {
pub event: Event,
pub chat_id: String,
pub inner_event_id: Option<String>,
}Fields§
§event: Event§chat_id: String§inner_event_id: Option<String>Trait Implementations§
Source§impl Clone for ProtocolPublish
impl Clone for ProtocolPublish
Source§fn clone(&self) -> ProtocolPublish
fn clone(&self) -> ProtocolPublish
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 moreAuto 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