pub struct PublicEvent {
pub speaker: String,
pub text: String,
}Fields§
§speaker: String§text: StringTrait Implementations§
Source§impl Clone for PublicEvent
impl Clone for PublicEvent
Source§fn clone(&self) -> PublicEvent
fn clone(&self) -> PublicEvent
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 Debug for PublicEvent
impl Debug for PublicEvent
impl Eq for PublicEvent
Source§impl PartialEq for PublicEvent
impl PartialEq for PublicEvent
impl StructuralPartialEq for PublicEvent
Auto Trait Implementations§
impl Freeze for PublicEvent
impl RefUnwindSafe for PublicEvent
impl Send for PublicEvent
impl Sync for PublicEvent
impl Unpin for PublicEvent
impl UnsafeUnpin for PublicEvent
impl UnwindSafe for PublicEvent
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