pub(crate) struct CaptureRequest {Show 15 fields
pub(super) auth: UiAutomationAuth,
pub(super) pane: Option<String>,
pub(super) ref_: Option<String>,
pub(super) card: Option<BTreeMap<String, String>>,
pub(super) into: Option<CaptureAs>,
pub(super) entry: Option<String>,
pub(super) download: bool,
pub(super) timeout_ms: Option<u64>,
pub(super) reason: Option<String>,
pub(super) near: Option<String>,
pub(super) prefix: Option<String>,
pub(super) shape: Option<String>,
pub(super) min_length: Option<u32>,
pub(super) max_length: Option<u32>,
pub(super) copy: bool,
}Fields§
§auth: UiAutomationAuth§pane: Option<String>§ref_: Option<String>§card: Option<BTreeMap<String, String>>A card shown on the page: each part’s key (number, exp, exp_month, exp_year, cvc, name, zip) and the
ref of the element that shows it. Saved whole as a new card (as), instead of ref.
into: Option<CaptureAs>A new entry: its kind (api-key by default), label, and plain fields.
entry: Option<String>Or an existing entry, whose value this replaces.
download: boolThe file the element downloads, instead of the element’s text.
timeout_ms: Option<u64>How long to wait for the download after the click (at most 2 minutes).
reason: Option<String>Why the agent keeps what the page shows: one line of 8 to 300 characters, required.
near: Option<String>Text with no reference of its own: the value shown beside this label. Instead of ref.
prefix: Option<String>What the value must be, or nothing is saved: a short prefix, one of the named shapes, a length range.
shape: Option<String>§min_length: Option<u32>§max_length: Option<u32>§copy: boolThe reference is the page’s own copy button: its value is taken from the page’s copy, never the clipboard.
Trait Implementations§
Source§impl Debug for CaptureRequest
impl Debug for CaptureRequest
Source§impl<'de> Deserialize<'de> for CaptureRequest
impl<'de> Deserialize<'de> for CaptureRequest
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>,
Auto Trait Implementations§
impl Freeze for CaptureRequest
impl RefUnwindSafe for CaptureRequest
impl Send for CaptureRequest
impl Sync for CaptureRequest
impl Unpin for CaptureRequest
impl UnsafeUnpin for CaptureRequest
impl UnwindSafe for CaptureRequest
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
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.§impl<T> DowncastSync for T
impl<T> DowncastSync for T
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more