pub struct DeploymentInventory {
pub deployment_hash: String,
pub databases: Vec<DatabaseEntry>,
pub apps: Vec<AppEntry>,
pub tables: Vec<TableEntry>,
pub interfaces: Vec<InterfaceEntry>,
pub functions: Vec<FunctionEntry>,
}Expand description
The full deployment inventory. Populated once by yeti-host at
startup-complete via set_deployment_inventory.
Fields§
§deployment_hash: StringHash identifying this deployment (currently hardcoded
"local" until Fabric multi-deployment hosting plumbs a real
value through; see the TransactionLog convention).
databases: Vec<DatabaseEntry>Distinct databases referenced by any registered table, sorted by name.
apps: Vec<AppEntry>Registered applications, sorted by id.
tables: Vec<TableEntry>Every @table across every app, sorted by (app_id, name).
interfaces: Vec<InterfaceEntry>Every interface surface (table × transport, custom function),
sorted by logical_name.
functions: Vec<FunctionEntry>Every custom Resource (resources/*.rs), sorted by (app_id, name).
Trait Implementations§
Source§impl Clone for DeploymentInventory
impl Clone for DeploymentInventory
Source§fn clone(&self) -> DeploymentInventory
fn clone(&self) -> DeploymentInventory
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DeploymentInventory
impl Debug for DeploymentInventory
Source§impl<'de> Deserialize<'de> for DeploymentInventory
impl<'de> Deserialize<'de> for DeploymentInventory
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
Auto Trait Implementations§
impl Freeze for DeploymentInventory
impl RefUnwindSafe for DeploymentInventory
impl Send for DeploymentInventory
impl Sync for DeploymentInventory
impl Unpin for DeploymentInventory
impl UnsafeUnpin for DeploymentInventory
impl UnwindSafe for DeploymentInventory
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