Struct aws_sdk_directory::input::StartSchemaExtensionInput
source · [−]#[non_exhaustive]pub struct StartSchemaExtensionInput {
pub directory_id: Option<String>,
pub create_snapshot_before_schema_extension: bool,
pub ldif_content: Option<String>,
pub description: 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.directory_id: Option<String>
The identifier of the directory for which the schema extension will be applied to.
create_snapshot_before_schema_extension: bool
If true, creates a snapshot of the directory before applying the schema extension.
ldif_content: Option<String>
The LDIF file represented as a string. To construct the LdifContent string, precede each line as it would be formatted in an ldif file with \n. See the example request below for more details. The file size can be no larger than 1MB.
description: Option<String>
A description of the schema extension.
Implementations
sourceimpl StartSchemaExtensionInput
impl StartSchemaExtensionInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<StartSchemaExtension, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<StartSchemaExtension, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<StartSchemaExtension
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture StartSchemaExtensionInput
sourceimpl StartSchemaExtensionInput
impl StartSchemaExtensionInput
sourcepub fn directory_id(&self) -> Option<&str>
pub fn directory_id(&self) -> Option<&str>
The identifier of the directory for which the schema extension will be applied to.
sourcepub fn create_snapshot_before_schema_extension(&self) -> bool
pub fn create_snapshot_before_schema_extension(&self) -> bool
If true, creates a snapshot of the directory before applying the schema extension.
sourcepub fn ldif_content(&self) -> Option<&str>
pub fn ldif_content(&self) -> Option<&str>
The LDIF file represented as a string. To construct the LdifContent string, precede each line as it would be formatted in an ldif file with \n. See the example request below for more details. The file size can be no larger than 1MB.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description of the schema extension.
Trait Implementations
sourceimpl Clone for StartSchemaExtensionInput
impl Clone for StartSchemaExtensionInput
sourcefn clone(&self) -> StartSchemaExtensionInput
fn clone(&self) -> StartSchemaExtensionInput
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 StartSchemaExtensionInput
impl Debug for StartSchemaExtensionInput
sourceimpl PartialEq<StartSchemaExtensionInput> for StartSchemaExtensionInput
impl PartialEq<StartSchemaExtensionInput> for StartSchemaExtensionInput
sourcefn eq(&self, other: &StartSchemaExtensionInput) -> bool
fn eq(&self, other: &StartSchemaExtensionInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &StartSchemaExtensionInput) -> bool
fn ne(&self, other: &StartSchemaExtensionInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for StartSchemaExtensionInput
Auto Trait Implementations
impl RefUnwindSafe for StartSchemaExtensionInput
impl Send for StartSchemaExtensionInput
impl Sync for StartSchemaExtensionInput
impl Unpin for StartSchemaExtensionInput
impl UnwindSafe for StartSchemaExtensionInput
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