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 Statewhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<String>: Freeze,
PhantomData<WiredUnit>: Freeze,
PhantomData<ApiUnit>: Freeze,
impl Move for State
impl RefUnwindSafe for State
impl Send for Statewhere
RawVecInner: Send,
impl Sync for Statewhere
RawVecInner: Sync,
impl Unpin for State
impl UnsafeUnpin for Statewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<WiredUnit>: UnsafeUnpin,
PhantomData<ApiUnit>: UnsafeUnpin,
impl UnwindSafe for Statewhere
RawVecInner: UnwindSafe,
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