pub struct AppInfo {
pub installed_app_id: InstalledAppId,
pub cell_info: IndexMap<RoleName, Vec<CellInfo>>,
pub status: AppStatus,
pub agent_pub_key: AgentPubKey,
pub manifest: AppManifest,
pub installed_at: Timestamp,
}Expand description
Info about an installed app, returned as part of AppResponse::AppInfo
Fields§
§installed_app_id: InstalledAppIdThe unique identifier for an installed app in this conductor
cell_info: IndexMap<RoleName, Vec<CellInfo>>Info about the cells installed in this app. Lists of cells are ordered and contain first the provisioned cell, then enabled clone cells and finally disabled clone cells.
status: AppStatusThe app’s current status, in an API-friendly format
agent_pub_key: AgentPubKeyThe app’s agent pub key.
manifest: AppManifestThe original AppManifest used to install the app, which can also be used to install the app again under a new agent.
installed_at: TimestampThe timestamp when this app was installed.
Implementations§
Source§impl AppInfo
impl AppInfo
pub fn from_installed_app( app: &InstalledApp, dna_definitions: &IndexMap<CellId, DnaDefHashed>, ) -> Self
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AppInfo
impl<'de> Deserialize<'de> for AppInfo
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
Source§impl TryFrom<&AppInfo> for SerializedBytes
impl TryFrom<&AppInfo> for SerializedBytes
Source§type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
Source§fn try_from(t: &AppInfo) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &AppInfo) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
Source§impl TryFrom<AppInfo> for SerializedBytes
impl TryFrom<AppInfo> for SerializedBytes
Source§type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
Source§fn try_from(t: AppInfo) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: AppInfo) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
Source§impl TryFrom<SerializedBytes> for AppInfo
impl TryFrom<SerializedBytes> for AppInfo
Source§type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
Source§fn try_from(sb: SerializedBytes) -> Result<AppInfo, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<AppInfo, SerializedBytesError>
Performs the conversion.
impl Eq for AppInfo
impl StructuralPartialEq for AppInfo
Auto Trait Implementations§
impl Freeze for AppInfo
impl RefUnwindSafe for AppInfo
impl Send for AppInfo
impl Sync for AppInfo
impl Unpin for AppInfo
impl UnsafeUnpin for AppInfo
impl UnwindSafe for AppInfo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
Source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more