pub struct AppEntry {
pub id: String,
pub name: String,
pub route_prefix: String,
pub version: String,
pub is_plugin: bool,
pub table_names: Vec<String>,
pub function_names: Vec<String>,
}Expand description
One registered application.
Fields§
§id: StringApplication id (URL slug).
name: StringHuman-readable name from [package.metadata.app] name.
route_prefix: StringMount-point prefix (/yeti-auth, etc.). Empty for the root app.
version: StringApp version from [package] version in Cargo.toml (string
form; currently “latest” for most apps until proper versioning).
is_plugin: booltrue when [package.metadata.app] plugin = true — the app
provides shared services rather than user-facing endpoints.
table_names: Vec<String>Sorted list of table names this app declares.
function_names: Vec<String>Sorted list of custom resource function names this app declares
(from resources/*.rs).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AppEntry
impl<'de> Deserialize<'de> for AppEntry
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 AppEntry
impl RefUnwindSafe for AppEntry
impl Send for AppEntry
impl Sync for AppEntry
impl Unpin for AppEntry
impl UnsafeUnpin for AppEntry
impl UnwindSafe for AppEntry
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