pub struct NavigateParams {
pub action: NavigateAction,
pub url: Option<String>,
pub dialog_type: Option<DialogType>,
pub dialog_action: Option<DialogAction>,
pub text: Option<String>,
pub webview_label: Option<String>,
}Expand description
Parameters for the compound navigate tool (go_to, go_back, history, dialogs).
Fields§
§action: NavigateActionAction to perform: go_to, go_back, get_history, set_dialog_response, get_dialog_log.
url: Option<String>URL to navigate to (for go_to action).
dialog_type: Option<DialogType>Dialog type (for set_dialog_response).
dialog_action: Option<DialogAction>Dialog action (for set_dialog_response).
text: Option<String>Response text for prompt dialogs (for set_dialog_response).
webview_label: Option<String>Target webview label.
Trait Implementations§
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§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
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