Type Alias SignedMeta

Source
pub type SignedMeta = ECSigned<Meta>;

Aliased Type§

pub struct SignedMeta {
    pub timestamped_value: Timestamped<Meta>,
    pub signature: Vec<u8>,
    pub public_key: PublicKey,
}

Fields§

§timestamped_value: Timestamped<Meta>§signature: Vec<u8>§public_key: PublicKey

Trait Implementations§

Source§

impl FileLike for SignedMeta

Source§

impl From<ECSigned<FileMetadata>> for SignedMeta

Source§

fn from(value: SignedFile) -> Self

Converts to this type from the input type.
Source§

impl IntoServerMeta for SignedMeta

Source§

fn add_time(self, version: u64) -> ServerMeta

Source§

impl PartialEq for SignedMeta

Source§

fn eq(&self, other: &Self) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.