#[non_exhaustive]pub struct GetResourcesInput {
pub authentication_token: Option<String>,
pub user_id: Option<String>,
pub collection_type: Option<ResourceCollectionType>,
pub limit: Option<i32>,
pub marker: Option<String>,
}
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.authentication_token: Option<String>
The Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
user_id: Option<String>
The user ID for the resource collection. This is a required field for accessing the API operation using IAM credentials.
collection_type: Option<ResourceCollectionType>
The collection type.
limit: Option<i32>
The maximum number of resources to return.
marker: Option<String>
The marker for the next set of results. This marker was received from a previous call.
Implementations§
source§impl GetResourcesInput
impl GetResourcesInput
sourcepub fn authentication_token(&self) -> Option<&str>
pub fn authentication_token(&self) -> Option<&str>
The Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
sourcepub fn user_id(&self) -> Option<&str>
pub fn user_id(&self) -> Option<&str>
The user ID for the resource collection. This is a required field for accessing the API operation using IAM credentials.
sourcepub fn collection_type(&self) -> Option<&ResourceCollectionType>
pub fn collection_type(&self) -> Option<&ResourceCollectionType>
The collection type.
source§impl GetResourcesInput
impl GetResourcesInput
sourcepub fn builder() -> GetResourcesInputBuilder
pub fn builder() -> GetResourcesInputBuilder
Creates a new builder-style object to manufacture GetResourcesInput
.
Trait Implementations§
source§impl Clone for GetResourcesInput
impl Clone for GetResourcesInput
source§fn clone(&self) -> GetResourcesInput
fn clone(&self) -> GetResourcesInput
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 GetResourcesInput
impl Debug for GetResourcesInput
source§impl PartialEq for GetResourcesInput
impl PartialEq for GetResourcesInput
source§fn eq(&self, other: &GetResourcesInput) -> bool
fn eq(&self, other: &GetResourcesInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetResourcesInput
Auto Trait Implementations§
impl RefUnwindSafe for GetResourcesInput
impl Send for GetResourcesInput
impl Sync for GetResourcesInput
impl Unpin for GetResourcesInput
impl UnwindSafe for GetResourcesInput
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.