pub struct PageState {
pub url: String,
pub title: String,
pub html_snippet: Option<String>,
}Expand description
Current page state for re-planning context.
Fields§
§url: StringCurrent URL.
title: StringCurrent title.
html_snippet: Option<String>Optional HTML snippet.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PageState
impl<'de> Deserialize<'de> for PageState
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 Freeze for PageState
impl RefUnwindSafe for PageState
impl Send for PageState
impl Sync for PageState
impl Unpin for PageState
impl UnwindSafe for PageState
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