pub struct State {
pub schema: String,
pub name: String,
pub commands: Vec<String>,
pub units: Vec<WiredUnit>,
pub lifted: bool,
pub kind: AppKind,
pub routes: Vec<String>,
pub api: Vec<ApiUnit>,
}Expand description
rust/app/rust-anything.json: the commands the front door routes and the units wired to them.
Fields§
§schema: String§name: String§commands: Vec<String>§units: Vec<WiredUnit>§lifted: bool§kind: AppKind§routes: Vec<String>Servers: the requests recorded, as METHOD /path, to choose routes from.
api: Vec<ApiUnit>Libraries: the public API, unit by unit.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for State
impl<'de> Deserialize<'de> for State
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 Forget for State
impl Freeze for State
impl Move for State
impl RefUnwindSafe for State
impl Send for State
impl Sync for State
impl Unpin for State
impl UnsafeUnpin for State
impl UnwindSafe for State
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