pub struct SerializeableSignature(pub Signature);Expand description
A helper type for serializing signatures (bincode cannot serialize a [u8; 64] our of the box).
Tuple Fields§
§0: SignatureTrait Implementations§
Source§impl Clone for SerializeableSignature
impl Clone for SerializeableSignature
Source§fn clone(&self) -> SerializeableSignature
fn clone(&self) -> SerializeableSignature
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 SerializeableSignature
impl Debug for SerializeableSignature
Source§impl<'de> Deserialize<'de> for SerializeableSignature
impl<'de> Deserialize<'de> for SerializeableSignature
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<SerializeableSignature> for Signature
impl From<SerializeableSignature> for Signature
Source§fn from(signature: SerializeableSignature) -> Self
fn from(signature: SerializeableSignature) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SerializeableSignature
impl PartialEq for SerializeableSignature
Source§impl Serialize for SerializeableSignature
impl Serialize for SerializeableSignature
impl Eq for SerializeableSignature
impl StructuralPartialEq for SerializeableSignature
Auto Trait Implementations§
impl Freeze for SerializeableSignature
impl RefUnwindSafe for SerializeableSignature
impl Send for SerializeableSignature
impl Sync for SerializeableSignature
impl Unpin for SerializeableSignature
impl UnwindSafe for SerializeableSignature
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