Enum holochain_types::dna::DnaManifest [−][src]
pub enum DnaManifest { V1(DnaManifestV1), }
Expand description
The enum which encompasses all versions of the DNA manifest, past and present.
Variants
V1(DnaManifestV1)
Implementations
pub fn current(
name: String,
uid: Option<String>,
properties: Option<YamlProperties>,
zomes: Vec<ZomeManifest>
) -> Self
pub fn current(
name: String,
uid: Option<String>,
properties: Option<YamlProperties>,
zomes: Vec<ZomeManifest>
) -> Self
Create a DnaManifest based on the current version. Be sure to update this function when creating a new version.
Getter for properties
Trait Implementations
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
Performs the conversion.
The list of Locations referenced in the manifest data. This must be correctly implemented to enable resource resolution. Read more
When unpacking the bundle into a directory structure, this becomes the relative path of the manifest file. Read more
When packing a bundle from a directory structure, the bundle file gets this extension. Read more
Get only the Bundled locations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for DnaManifest
impl Send for DnaManifest
impl Sync for DnaManifest
impl Unpin for DnaManifest
impl UnwindSafe for DnaManifest
Blanket Implementations
fn type_id_compat(&self) -> TypeId
fn type_id_compat(&self) -> TypeId
TODO: once 1.33.0 is the minimum supported compiler version, remove Any::type_id_compat and use StdAny::type_id instead. https://github.com/rust-lang/rust/issues/27745 Read more
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more