pub struct Spoken {
pub from: Option<ConnectionId>,
pub to: Audience,
pub text: String,
}Expand description
One message a flavor asked to have delivered to an audience.
Fields§
§from: Option<ConnectionId>Who it is attributed to. None means the server itself, which is what
makes the client label it as coming from the server rather than a user.
to: Audience§text: StringTrait Implementations§
impl Eq for Spoken
impl StructuralPartialEq for Spoken
Auto Trait Implementations§
impl Freeze for Spoken
impl RefUnwindSafe for Spoken
impl Send for Spoken
impl Sync for Spoken
impl Unpin for Spoken
impl UnwindSafe for Spoken
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