Struct aws_sdk_workdocs::input::UpdateDocumentInput
source · [−]#[non_exhaustive]pub struct UpdateDocumentInput {
pub authentication_token: Option<String>,
pub document_id: Option<String>,
pub name: Option<String>,
pub parent_folder_id: Option<String>,
pub resource_state: Option<ResourceStateType>,
}
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.
name: Option<String>
The name of the document.
parent_folder_id: Option<String>
The ID of the parent folder.
resource_state: Option<ResourceStateType>
The resource state of the document. Only ACTIVE and RECYCLED are supported.
Implementations
sourceimpl UpdateDocumentInput
impl UpdateDocumentInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateDocument, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateDocument, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<UpdateDocument
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture UpdateDocumentInput
sourceimpl UpdateDocumentInput
impl UpdateDocumentInput
sourcepub fn authentication_token(&self) -> Option<&str>
pub fn authentication_token(&self) -> Option<&str>
Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.
sourcepub fn document_id(&self) -> Option<&str>
pub fn document_id(&self) -> Option<&str>
The ID of the document.
sourcepub fn parent_folder_id(&self) -> Option<&str>
pub fn parent_folder_id(&self) -> Option<&str>
The ID of the parent folder.
sourcepub fn resource_state(&self) -> Option<&ResourceStateType>
pub fn resource_state(&self) -> Option<&ResourceStateType>
The resource state of the document. Only ACTIVE and RECYCLED are supported.
Trait Implementations
sourceimpl Clone for UpdateDocumentInput
impl Clone for UpdateDocumentInput
sourcefn clone(&self) -> UpdateDocumentInput
fn clone(&self) -> UpdateDocumentInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for UpdateDocumentInput
impl Debug for UpdateDocumentInput
sourceimpl PartialEq<UpdateDocumentInput> for UpdateDocumentInput
impl PartialEq<UpdateDocumentInput> for UpdateDocumentInput
sourcefn eq(&self, other: &UpdateDocumentInput) -> bool
fn eq(&self, other: &UpdateDocumentInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &UpdateDocumentInput) -> bool
fn ne(&self, other: &UpdateDocumentInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for UpdateDocumentInput
Auto Trait Implementations
impl RefUnwindSafe for UpdateDocumentInput
impl Send for UpdateDocumentInput
impl Sync for UpdateDocumentInput
impl Unpin for UpdateDocumentInput
impl UnwindSafe for UpdateDocumentInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more