pub struct Manifest {
pub version: String,
pub environments: Vec<Environment>,
pub implementations: Vec<Implementation>,
}Expand description
A set of implementations declared together, as a file or a message.
This is what “registering as an execution source” looks like written down: a module announcing which propositions it can prove and where.
Fields§
§version: StringThe format version.
environments: Vec<Environment>Environments this manifest introduces.
implementations: Vec<Implementation>The proofs on offer.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Manifest
impl<'de> Deserialize<'de> for Manifest
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
impl StructuralPartialEq for Manifest
Auto Trait Implementations§
impl Forget for Manifest
impl Freeze for Manifestwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<Environment>: Freeze,
PhantomData<Implementation>: Freeze,
impl Move for Manifest
impl RefUnwindSafe for Manifest
impl Send for Manifest
impl Sync for Manifest
impl Unpin for Manifest
impl UnsafeUnpin for Manifestwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Environment>: UnsafeUnpin,
PhantomData<Implementation>: UnsafeUnpin,
impl UnwindSafe for Manifestwhere
RawVecInner: UnwindSafe,
BTreeMap<String, String>: UnwindSafe,
NonNull<u8>: UnwindSafe,
BTreeMap<String, Value>: UnwindSafe,
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