pub struct Page<'a> {
pub title: &'a str,
pub lang: &'a str,
pub body: &'a str,
pub notice: &'a [String],
pub nonce: &'a str,
pub islands: Option<&'a IslandLinks>,
pub script_notices: ScriptNotices<'a>,
}Fields§
§title: &'a str§lang: &'a str§body: &'a str§notice: &'a [String]Such as why a form posted without JavaScript was refused.
nonce: &'a str§islands: Option<&'a IslandLinks>§script_notices: ScriptNotices<'a>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for Page<'a>
impl<'a> !Send for Page<'a>
impl<'a> !Sync for Page<'a>
impl<'a> !UnwindSafe for Page<'a>
impl<'a> Forget for Page<'a>
impl<'a> Freeze for Page<'a>
impl<'a> Unpin for Page<'a>
impl<'a> UnsafeUnpin for Page<'a>
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