pub struct FrozenApp {
pub global_state: String,
pub route: String,
pub page_state_store: HashMap<String, String>,
}Expand description
A representation of a frozen app.
This is only Clone for fault tolerance. Do NOT ever clone this unless you seriously know what you’re doing!
Fields
global_state: StringThe frozen global state. If it was never initialized, this will be None.
route: StringThe frozen route.
page_state_store: HashMap<String, String>The frozen page state store. We store this as a HashMap as this level so that we can avoid another deserialization.
Trait Implementations
sourceimpl<'de> Deserialize<'de> for FrozenApp
impl<'de> Deserialize<'de> for FrozenApp
sourcefn 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 RefUnwindSafe for FrozenApp
impl Send for FrozenApp
impl Sync for FrozenApp
impl Unpin for FrozenApp
impl UnwindSafe for FrozenApp
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more