Struct holochain_types::app::AppRoleManifest [−][src]
pub struct AppRoleManifest {
pub id: AppRoleId,
pub provisioning: Option<CellProvisioning>,
pub dna: AppRoleDnaManifest,
}
Expand description
Description of an app “role” defined by this app. Roles get filled according to the provisioning rules, as well as by potential runtime clones.
Fields
id: AppRoleId
The ID which will be used to refer to:
- this role,
- the DNA which fills it,
- and the cell(s) created from that DNA
provisioning: Option<CellProvisioning>
Determines if, how, and when a Cell will be provisioned.
dna: AppRoleDnaManifest
Declares where to find the DNA, and options to modify it before inclusion in a Cell
Implementations
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
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 AppRoleManifest
impl Send for AppRoleManifest
impl Sync for AppRoleManifest
impl Unpin for AppRoleManifest
impl UnwindSafe for AppRoleManifest
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
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
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