pub struct MessageFullWire {
signature: Signature,
message: Box<Message>,
}Expand description
The Wire protocol variant just signature and message as bytes the signature is redundent and the message is raw bytes
Fields§
§signature: Signature§message: Box<Message>Trait Implementations§
Source§impl Clone for MessageFullWire
impl Clone for MessageFullWire
Source§fn clone(&self) -> MessageFullWire
fn clone(&self) -> MessageFullWire
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 moreSource§impl Debug for MessageFullWire
impl Debug for MessageFullWire
Source§impl<'de> Deserialize<'de> for MessageFullWire
impl<'de> Deserialize<'de> for MessageFullWire
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<MessageFull> for MessageFullWire
impl From<MessageFull> for MessageFullWire
Source§fn from(val: MessageFull) -> Self
fn from(val: MessageFull) -> Self
Converts to this type from the input type.
Source§impl Serialize for MessageFullWire
impl Serialize for MessageFullWire
Source§impl TryFrom<MessageFullWire> for MessageFull
impl TryFrom<MessageFullWire> for MessageFull
Source§type Error = MessageFullError
type Error = MessageFullError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for MessageFullWire
impl RefUnwindSafe for MessageFullWire
impl Send for MessageFullWire
impl Sync for MessageFullWire
impl Unpin for MessageFullWire
impl UnwindSafe for MessageFullWire
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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