mithril_common::signable_builder

Trait Artifact

source
pub trait Artifact:
    Debug
    + Send
    + Sync
    + Serialize
    + Deserialize {
    // Required method
    fn get_id(&self) -> String;
}
Expand description

Artifact is a trait for types that represent signed artifacts

Required Methods§

source

fn get_id(&self) -> String

Get artifact identifier

Trait Implementations§

source§

impl<'typetag> Serialize for dyn Artifact + 'typetag

source§

fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl<'typetag> Serialize for dyn Artifact + Send + 'typetag

source§

fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl<'typetag> Serialize for dyn Artifact + Send + Sync + 'typetag

source§

fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl<'typetag> Serialize for dyn Artifact + Sync + 'typetag

source§

fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where S: Serializer,

Serialize this value into the given Serde serializer. Read more

Implementors§