Struct chromiumoxide::cdp::browser_protocol::dom::GetSearchResultsParams
source · pub struct GetSearchResultsParams {
pub search_id: String,
pub from_index: i64,
pub to_index: i64,
}
Expand description
Returns search results from given fromIndex
to given toIndex
from the search with the given
identifier.
getSearchResults
Fields§
§search_id: String
Unique search session identifier.
from_index: i64
Start index of the search result to be returned.
to_index: i64
End index of the search result to be returned.
Implementations§
source§impl GetSearchResultsParams
impl GetSearchResultsParams
pub fn builder() -> GetSearchResultsParamsBuilder
source§impl GetSearchResultsParams
impl GetSearchResultsParams
pub const IDENTIFIER: &'static str = "DOM.getSearchResults"
Trait Implementations§
source§impl Clone for GetSearchResultsParams
impl Clone for GetSearchResultsParams
source§fn clone(&self) -> GetSearchResultsParams
fn clone(&self) -> GetSearchResultsParams
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Command for GetSearchResultsParams
impl Command for GetSearchResultsParams
§type Response = GetSearchResultsReturns
type Response = GetSearchResultsReturns
The type of the response this request triggers on the chromium server
source§impl Debug for GetSearchResultsParams
impl Debug for GetSearchResultsParams
source§impl<'de> Deserialize<'de> for GetSearchResultsParams
impl<'de> Deserialize<'de> for GetSearchResultsParams
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<GetSearchResultsParams, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<GetSearchResultsParams, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Method for GetSearchResultsParams
impl Method for GetSearchResultsParams
source§fn identifier(&self) -> Cow<'static, str>
fn identifier(&self) -> Cow<'static, str>
The whole string identifier for this method like:
DOM.removeNode
source§fn domain_name(&self) -> Cow<'static, str>
fn domain_name(&self) -> Cow<'static, str>
The name of the domain this method belongs to:
DOM
source§fn method_name(&self) -> Cow<'static, str>
fn method_name(&self) -> Cow<'static, str>
The standalone identifier of the method inside the domain:
removeNode
source§impl MethodType for GetSearchResultsParams
impl MethodType for GetSearchResultsParams
source§impl PartialEq for GetSearchResultsParams
impl PartialEq for GetSearchResultsParams
source§fn eq(&self, other: &GetSearchResultsParams) -> bool
fn eq(&self, other: &GetSearchResultsParams) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for GetSearchResultsParams
impl Serialize for GetSearchResultsParams
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for GetSearchResultsParams
Auto Trait Implementations§
impl Freeze for GetSearchResultsParams
impl RefUnwindSafe for GetSearchResultsParams
impl Send for GetSearchResultsParams
impl Sync for GetSearchResultsParams
impl Unpin for GetSearchResultsParams
impl UnwindSafe for GetSearchResultsParams
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