Struct holochain_types::app::InstalledAppCommon [−][src]
pub struct InstalledAppCommon { /* fields omitted */ }
Expand description
The common data between apps of any status
Implementations
pub fn new<S: ToString, I: IntoIterator<Item = (SlotId, AppSlot)>>(
installed_app_id: S,
_agent_key: AgentPubKey,
slots: I
) -> Self
pub fn new<S: ToString, I: IntoIterator<Item = (SlotId, AppSlot)>>(
installed_app_id: S,
_agent_key: AgentPubKey,
slots: I
) -> Self
Constructor
Accessor
Accessor
Iterator of all cells, both provisioned and cloned
Accessor
pub fn new_legacy<S: ToString, I: IntoIterator<Item = InstalledCell>>(
installed_app_id: S,
installed_cells: I
) -> AppResult<Self>
pub fn new_legacy<S: ToString, I: IntoIterator<Item = InstalledCell>>(
installed_app_id: S,
installed_cells: I
) -> AppResult<Self>
Constructor for apps not using a manifest. Disables cloning, and implies immediate provisioning.
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Immutably borrows from an owned value. Read more
Immutably borrows from an owned value. Read more
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.
Performs the conversion.
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 InstalledAppCommon
impl Send for InstalledAppCommon
impl Sync for InstalledAppCommon
impl Unpin for InstalledAppCommon
impl UnwindSafe for InstalledAppCommon
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