pub struct SearchInContentReturnObjectBuilder { /* private fields */ }Expand description
Builder for SearchInContentReturnObject.
Implementations§
Source§impl SearchInContentReturnObjectBuilder
impl SearchInContentReturnObjectBuilder
Sourcepub fn result(&mut self, value: Vec<SearchMatch>) -> &mut Self
pub fn result(&mut self, value: Vec<SearchMatch>) -> &mut Self
List of search matches.
Sourcepub fn build(
&self,
) -> Result<SearchInContentReturnObject, SearchInContentReturnObjectBuilderError>
pub fn build( &self, ) -> Result<SearchInContentReturnObject, SearchInContentReturnObjectBuilderError>
Trait Implementations§
Source§impl Clone for SearchInContentReturnObjectBuilder
impl Clone for SearchInContentReturnObjectBuilder
Source§fn clone(&self) -> SearchInContentReturnObjectBuilder
fn clone(&self) -> SearchInContentReturnObjectBuilder
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 SearchInContentReturnObjectBuilder
impl RefUnwindSafe for SearchInContentReturnObjectBuilder
impl Send for SearchInContentReturnObjectBuilder
impl Sync for SearchInContentReturnObjectBuilder
impl Unpin for SearchInContentReturnObjectBuilder
impl UnsafeUnpin for SearchInContentReturnObjectBuilder
impl UnwindSafe for SearchInContentReturnObjectBuilder
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