#[non_exhaustive]pub struct WebMCPOptions {
pub timeout: Option<f64>,
}Expand description
Options for WebMCP::tools and WebMCP::call_tool.
See: https://playwright.dev/docs/api/class-webmcp#webmcp-call-tool
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.timeout: Option<f64>Maximum time in milliseconds. Defaults to the page’s default timeout
(see Page::set_default_timeout), and to
DEFAULT_TIMEOUT_MS without one.
Implementations§
Trait Implementations§
Source§impl Clone for WebMCPOptions
impl Clone for WebMCPOptions
Source§impl Debug for WebMCPOptions
impl Debug for WebMCPOptions
Auto Trait Implementations§
impl Freeze for WebMCPOptions
impl RefUnwindSafe for WebMCPOptions
impl Send for WebMCPOptions
impl Sync for WebMCPOptions
impl Unpin for WebMCPOptions
impl UnsafeUnpin for WebMCPOptions
impl UnwindSafe for WebMCPOptions
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