#[non_exhaustive]pub struct SearchResourcesInput {
pub authentication_token: Option<String>,
pub query_text: Option<String>,
pub query_scopes: Option<Vec<SearchQueryScopeType>>,
pub organization_id: Option<String>,
pub additional_response_fields: Option<Vec<AdditionalResponseFieldType>>,
pub filters: Option<Filters>,
pub order_by: Option<Vec<SearchSortResult>>,
pub limit: Option<i32>,
pub marker: Option<String>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.authentication_token: Option<String>
Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
query_text: Option<String>
The String to search for. Searches across different text fields based on request parameters. Use double quotes around the query string for exact phrase matches.
query_scopes: Option<Vec<SearchQueryScopeType>>
Filter based on the text field type. A Folder has only a name and no content. A Comment has only content and no name. A Document or Document Version has a name and content
organization_id: Option<String>
Filters based on the resource owner OrgId. This is a mandatory parameter when using Admin SigV4 credentials.
additional_response_fields: Option<Vec<AdditionalResponseFieldType>>
A list of attributes to include in the response. Used to request fields that are not normally returned in a standard response.
filters: Option<Filters>
Filters results based on entity metadata.
order_by: Option<Vec<SearchSortResult>>
Order by results in one or more categories.
limit: Option<i32>
Max results count per page.
marker: Option<String>
The marker for the next set of results.
Implementations§
source§impl SearchResourcesInput
impl SearchResourcesInput
sourcepub fn authentication_token(&self) -> Option<&str>
pub fn authentication_token(&self) -> Option<&str>
Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
sourcepub fn query_text(&self) -> Option<&str>
pub fn query_text(&self) -> Option<&str>
The String to search for. Searches across different text fields based on request parameters. Use double quotes around the query string for exact phrase matches.
sourcepub fn query_scopes(&self) -> &[SearchQueryScopeType]
pub fn query_scopes(&self) -> &[SearchQueryScopeType]
Filter based on the text field type. A Folder has only a name and no content. A Comment has only content and no name. A Document or Document Version has a name and content
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .query_scopes.is_none()
.
sourcepub fn organization_id(&self) -> Option<&str>
pub fn organization_id(&self) -> Option<&str>
Filters based on the resource owner OrgId. This is a mandatory parameter when using Admin SigV4 credentials.
sourcepub fn additional_response_fields(&self) -> &[AdditionalResponseFieldType]
pub fn additional_response_fields(&self) -> &[AdditionalResponseFieldType]
A list of attributes to include in the response. Used to request fields that are not normally returned in a standard response.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .additional_response_fields.is_none()
.
sourcepub fn order_by(&self) -> &[SearchSortResult]
pub fn order_by(&self) -> &[SearchSortResult]
Order by results in one or more categories.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .order_by.is_none()
.
source§impl SearchResourcesInput
impl SearchResourcesInput
sourcepub fn builder() -> SearchResourcesInputBuilder
pub fn builder() -> SearchResourcesInputBuilder
Creates a new builder-style object to manufacture SearchResourcesInput
.
Trait Implementations§
source§impl Clone for SearchResourcesInput
impl Clone for SearchResourcesInput
source§fn clone(&self) -> SearchResourcesInput
fn clone(&self) -> SearchResourcesInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SearchResourcesInput
impl Debug for SearchResourcesInput
source§impl PartialEq for SearchResourcesInput
impl PartialEq for SearchResourcesInput
impl StructuralPartialEq for SearchResourcesInput
Auto Trait Implementations§
impl Freeze for SearchResourcesInput
impl RefUnwindSafe for SearchResourcesInput
impl Send for SearchResourcesInput
impl Sync for SearchResourcesInput
impl Unpin for SearchResourcesInput
impl UnwindSafe for SearchResourcesInput
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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>
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