pub struct SearchInResourceBuilder { /* private fields */ }Expand description
Builder for SearchInResource.
Implementations§
Source§impl SearchInResourceBuilder
impl SearchInResourceBuilder
Sourcepub fn frame_id<VALUE: Into<FrameId>>(&mut self, value: VALUE) -> &mut Self
pub fn frame_id<VALUE: Into<FrameId>>(&mut self, value: VALUE) -> &mut Self
Frame id for resource to search in.
Sourcepub fn url<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn url<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
URL of the resource to search in.
Sourcepub fn case_sensitive<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn case_sensitive<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
If true, search is case sensitive.
Sourcepub fn is_regex<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn is_regex<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
If true, treats string parameter as regex.
Sourcepub fn build(&self) -> Result<SearchInResource, SearchInResourceBuilderError>
pub fn build(&self) -> Result<SearchInResource, SearchInResourceBuilderError>
Trait Implementations§
Source§impl Clone for SearchInResourceBuilder
impl Clone for SearchInResourceBuilder
Source§fn clone(&self) -> SearchInResourceBuilder
fn clone(&self) -> SearchInResourceBuilder
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for SearchInResourceBuilder
impl RefUnwindSafe for SearchInResourceBuilder
impl Send for SearchInResourceBuilder
impl Sync for SearchInResourceBuilder
impl Unpin for SearchInResourceBuilder
impl UnsafeUnpin for SearchInResourceBuilder
impl UnwindSafe for SearchInResourceBuilder
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