pub struct VkeyWitness {
pub vkey: Ed25519PublicKey,
pub signature: Ed25519Signature,
}Fields§
§vkey: Ed25519PublicKey§signature: Ed25519SignatureImplementations§
Source§impl VkeyWitness
impl VkeyWitness
pub fn verify(&self, data: &[u8]) -> SignatureVerification
Trait Implementations§
Source§impl Clone for VkeyWitness
impl Clone for VkeyWitness
Source§fn clone(&self) -> VkeyWitness
fn clone(&self) -> VkeyWitness
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 VkeyWitness
impl Debug for VkeyWitness
Source§impl Decode for VkeyWitness
impl Decode for VkeyWitness
Source§impl PartialEq for VkeyWitness
impl PartialEq for VkeyWitness
impl Eq for VkeyWitness
impl StructuralPartialEq for VkeyWitness
Auto Trait Implementations§
impl Freeze for VkeyWitness
impl RefUnwindSafe for VkeyWitness
impl Send for VkeyWitness
impl Sync for VkeyWitness
impl Unpin for VkeyWitness
impl UnwindSafe for VkeyWitness
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