pub struct ModuleSignature {
pub author_key: [u8; 32],
pub signature: Vec<u8>,
pub signed_at: u64,
}Fields§
§signature: Vec<u8>Ed25519 signature (64 bytes). Uses Vec<u8> because serde does not
support [u8; 64] out of the box.
signed_at: u64Trait Implementations§
Source§impl Clone for ModuleSignature
impl Clone for ModuleSignature
Source§fn clone(&self) -> ModuleSignature
fn clone(&self) -> ModuleSignature
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ModuleSignature
impl Debug for ModuleSignature
Source§impl<'de> Deserialize<'de> for ModuleSignature
impl<'de> Deserialize<'de> for ModuleSignature
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
Auto Trait Implementations§
impl Freeze for ModuleSignature
impl RefUnwindSafe for ModuleSignature
impl Send for ModuleSignature
impl Sync for ModuleSignature
impl Unpin for ModuleSignature
impl UnsafeUnpin for ModuleSignature
impl UnwindSafe for ModuleSignature
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