pub struct UnsignedMessage {
pub message_type: MessageType,
pub item_type: ItemType,
pub item_content: String,
pub item_hash: ItemHash,
pub time: Timestamp,
pub channel: Option<Channel>,
}Fields§
§message_type: MessageType§item_type: ItemType§item_content: String§item_hash: ItemHash§time: Timestamp§channel: Option<Channel>Trait Implementations§
Source§impl Clone for UnsignedMessage
impl Clone for UnsignedMessage
Source§fn clone(&self) -> UnsignedMessage
fn clone(&self) -> UnsignedMessage
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for UnsignedMessage
impl RefUnwindSafe for UnsignedMessage
impl Send for UnsignedMessage
impl Sync for UnsignedMessage
impl Unpin for UnsignedMessage
impl UnsafeUnpin for UnsignedMessage
impl UnwindSafe for UnsignedMessage
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