Struct querent_synapse::comm::types::message::MessageState
source · pub struct MessageState {
pub message_type: MessageType,
pub timestamp: f64,
pub payload: String,
}
Fields§
§message_type: MessageType
§timestamp: f64
§payload: String
Trait Implementations§
source§impl Clone for MessageState
impl Clone for MessageState
source§fn clone(&self) -> MessageState
fn clone(&self) -> MessageState
Returns a copy of the value. Read more
1.0.0 · 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 MessageState
impl Debug for MessageState
source§impl<'a> FromPyObject<'a> for MessageState
impl<'a> FromPyObject<'a> for MessageState
source§impl IntoPy<Py<PyAny>> for MessageState
impl IntoPy<Py<PyAny>> for MessageState
source§impl PartialEq for MessageState
impl PartialEq for MessageState
source§fn eq(&self, other: &MessageState) -> bool
fn eq(&self, other: &MessageState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for MessageState
Auto Trait Implementations§
impl Freeze for MessageState
impl RefUnwindSafe for MessageState
impl Send for MessageState
impl Sync for MessageState
impl Unpin for MessageState
impl UnwindSafe for MessageState
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