#[non_exhaustive]pub struct SearchWorkersOutput {
pub workers: Vec<WorkerSearchSummary>,
pub next_item_offset: Option<i32>,
pub total_results: i32,
/* private fields */
}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.workers: Vec<WorkerSearchSummary>The workers for the search.
next_item_offset: Option<i32>The next incremental starting point after the defined itemOffset.
total_results: i32The total number of results in the search.
Implementations§
source§impl SearchWorkersOutput
impl SearchWorkersOutput
sourcepub fn workers(&self) -> &[WorkerSearchSummary]
pub fn workers(&self) -> &[WorkerSearchSummary]
The workers for the search.
sourcepub fn next_item_offset(&self) -> Option<i32>
pub fn next_item_offset(&self) -> Option<i32>
The next incremental starting point after the defined itemOffset.
sourcepub fn total_results(&self) -> i32
pub fn total_results(&self) -> i32
The total number of results in the search.
source§impl SearchWorkersOutput
impl SearchWorkersOutput
sourcepub fn builder() -> SearchWorkersOutputBuilder
pub fn builder() -> SearchWorkersOutputBuilder
Creates a new builder-style object to manufacture SearchWorkersOutput.
Trait Implementations§
source§impl Clone for SearchWorkersOutput
impl Clone for SearchWorkersOutput
source§fn clone(&self) -> SearchWorkersOutput
fn clone(&self) -> SearchWorkersOutput
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 Debug for SearchWorkersOutput
impl Debug for SearchWorkersOutput
source§impl PartialEq for SearchWorkersOutput
impl PartialEq for SearchWorkersOutput
source§fn eq(&self, other: &SearchWorkersOutput) -> bool
fn eq(&self, other: &SearchWorkersOutput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl RequestId for SearchWorkersOutput
impl RequestId for SearchWorkersOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
Returns the request ID, or
None if the service could not be reached.impl StructuralPartialEq for SearchWorkersOutput
Auto Trait Implementations§
impl Freeze for SearchWorkersOutput
impl RefUnwindSafe for SearchWorkersOutput
impl Send for SearchWorkersOutput
impl Sync for SearchWorkersOutput
impl Unpin for SearchWorkersOutput
impl UnwindSafe for SearchWorkersOutput
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.