pub struct SignedMessage {
pub text: String,
pub date: String,
pub signed_by: Key,
}Expand description
Represents a message that has been signed with a cryptographic key.
Fields§
§text: StringThe text of the message.
date: StringThe date the message was signed.
signed_by: KeyThe key used to sign the message.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SignedMessage
impl RefUnwindSafe for SignedMessage
impl Send for SignedMessage
impl Sync for SignedMessage
impl Unpin for SignedMessage
impl UnwindSafe for SignedMessage
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