pub struct DefaultSignature {
pub msg_sig: Signature,
}
Fields§
§msg_sig: Signature
Trait Implementations§
source§impl BorshDeserialize for DefaultSignature
impl BorshDeserialize for DefaultSignature
fn deserialize_reader<R: Read>(reader: &mut R) -> Result<Self>
source§fn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
fn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
Deserializes this instance from a given slice of bytes.
Updates the buffer to point at the remaining bytes.
source§fn try_from_slice(v: &[u8]) -> Result<Self, Error>
fn try_from_slice(v: &[u8]) -> Result<Self, Error>
Deserialize this instance from a slice of bytes.
fn try_from_reader<R>(reader: &mut R) -> Result<Self, Error>where R: Read,
source§impl BorshSerialize for DefaultSignature
impl BorshSerialize for DefaultSignature
source§impl Clone for DefaultSignature
impl Clone for DefaultSignature
source§fn clone(&self) -> DefaultSignature
fn clone(&self) -> DefaultSignature
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 DefaultSignature
impl Debug for DefaultSignature
source§impl PartialEq<DefaultSignature> for DefaultSignature
impl PartialEq<DefaultSignature> for DefaultSignature
source§fn eq(&self, other: &DefaultSignature) -> bool
fn eq(&self, other: &DefaultSignature) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Signature for DefaultSignature
impl Signature for DefaultSignature
impl Eq for DefaultSignature
impl StructuralEq for DefaultSignature
impl StructuralPartialEq for DefaultSignature
Auto Trait Implementations§
impl RefUnwindSafe for DefaultSignature
impl Send for DefaultSignature
impl Sync for DefaultSignature
impl Unpin for DefaultSignature
impl UnwindSafe for DefaultSignature
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