pub struct PageEnvelope {Show 14 fields
pub protocol: u8,
pub render_mode: RenderMode,
pub page: String,
pub props: Value,
pub shared: Map<String, Value>,
pub errors: Map<String, Value>,
pub flash: Map<String, Value>,
pub contract_hash: Option<String>,
pub asset_version: Option<String>,
pub request_id: Option<String>,
pub head: PageHead,
pub csrf_token: Option<String>,
pub routes: HashMap<String, String>,
pub islands: Vec<Island>,
}Fields§
§protocol: u8§render_mode: RenderMode§page: String§props: Value§errors: Map<String, Value>§flash: Map<String, Value>§contract_hash: Option<String>§asset_version: Option<String>§request_id: Option<String>§head: PageHead§csrf_token: Option<String>§routes: HashMap<String, String>§islands: Vec<Island>Trait Implementations§
Source§impl Clone for PageEnvelope
impl Clone for PageEnvelope
Source§fn clone(&self) -> PageEnvelope
fn clone(&self) -> PageEnvelope
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 PageEnvelope
impl Debug for PageEnvelope
Source§impl<'de> Deserialize<'de> for PageEnvelope
impl<'de> Deserialize<'de> for PageEnvelope
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
Source§impl PartialEq for PageEnvelope
impl PartialEq for PageEnvelope
Source§impl Serialize for PageEnvelope
impl Serialize for PageEnvelope
impl StructuralPartialEq for PageEnvelope
Auto Trait Implementations§
impl Freeze for PageEnvelope
impl RefUnwindSafe for PageEnvelope
impl Send for PageEnvelope
impl Sync for PageEnvelope
impl Unpin for PageEnvelope
impl UnsafeUnpin for PageEnvelope
impl UnwindSafe for PageEnvelope
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