Struct aws_sdk_workdocs::input::GetDocumentInput [−][src]
#[non_exhaustive]pub struct GetDocumentInput {
pub authentication_token: Option<String>,
pub document_id: Option<String>,
pub include_custom_metadata: bool,
}
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 AWS administrator credentials to access the API.
document_id: Option<String>
The ID of the document.
include_custom_metadata: bool
Set this to TRUE
to include custom metadata in the response.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetDocument, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetDocument, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<GetDocument
>
Creates a new builder-style object to manufacture GetDocumentInput
Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.
The ID of the document.
Set this to TRUE
to include custom metadata in the response.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for GetDocumentInput
impl Send for GetDocumentInput
impl Sync for GetDocumentInput
impl Unpin for GetDocumentInput
impl UnwindSafe for GetDocumentInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more