Struct holochain_types::app::CreateCloneCellPayload [−][src]
pub struct CreateCloneCellPayload {
pub properties: Option<YamlProperties>,
pub dna_hash: DnaHash,
pub agent_key: AgentPubKey,
pub installed_app_id: InstalledAppId,
pub role_id: AppRoleId,
pub membrane_proof: Option<MembraneProof>,
}
Expand description
The instructions on how to get the DNA to be registered
Fields
properties: Option<YamlProperties>
Properties to override when installing this Dna
dna_hash: DnaHash
The DNA to clone
agent_key: AgentPubKey
The Agent key with which to create this Cell (TODO: should this be derived from the App?)
installed_app_id: InstalledAppId
The App with which to associate the newly created Cell
role_id: AppRoleId
The Role ID under which to create this clone
(needed to track cloning permissions and clone_count
)
membrane_proof: Option<MembraneProof>
Proof-of-membership, if required by this DNA
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
Auto Trait Implementations
impl RefUnwindSafe for CreateCloneCellPayload
impl Send for CreateCloneCellPayload
impl Sync for CreateCloneCellPayload
impl Unpin for CreateCloneCellPayload
impl UnwindSafe for CreateCloneCellPayload
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
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