#[non_exhaustive]pub struct CreateWorldTemplateInput {
pub client_request_token: Option<String>,
pub name: Option<String>,
pub template_body: Option<String>,
pub template_location: Option<TemplateLocation>,
pub tags: Option<HashMap<String, 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.client_request_token: Option<String>Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
name: Option<String>The name of the world template.
template_body: Option<String>The world template body.
template_location: Option<TemplateLocation>The location of the world template.
A map that contains tag keys and tag values that are attached to the world template.
Implementations§
source§impl CreateWorldTemplateInput
impl CreateWorldTemplateInput
sourcepub fn client_request_token(&self) -> Option<&str>
pub fn client_request_token(&self) -> Option<&str>
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
sourcepub fn template_body(&self) -> Option<&str>
pub fn template_body(&self) -> Option<&str>
The world template body.
sourcepub fn template_location(&self) -> Option<&TemplateLocation>
pub fn template_location(&self) -> Option<&TemplateLocation>
The location of the world template.
A map that contains tag keys and tag values that are attached to the world template.
source§impl CreateWorldTemplateInput
impl CreateWorldTemplateInput
sourcepub fn builder() -> CreateWorldTemplateInputBuilder
pub fn builder() -> CreateWorldTemplateInputBuilder
Creates a new builder-style object to manufacture CreateWorldTemplateInput.
Trait Implementations§
source§impl Clone for CreateWorldTemplateInput
impl Clone for CreateWorldTemplateInput
source§fn clone(&self) -> CreateWorldTemplateInput
fn clone(&self) -> CreateWorldTemplateInput
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 CreateWorldTemplateInput
impl Debug for CreateWorldTemplateInput
source§impl PartialEq for CreateWorldTemplateInput
impl PartialEq for CreateWorldTemplateInput
source§fn eq(&self, other: &CreateWorldTemplateInput) -> bool
fn eq(&self, other: &CreateWorldTemplateInput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CreateWorldTemplateInput
Auto Trait Implementations§
impl RefUnwindSafe for CreateWorldTemplateInput
impl Send for CreateWorldTemplateInput
impl Sync for CreateWorldTemplateInput
impl Unpin for CreateWorldTemplateInput
impl UnwindSafe for CreateWorldTemplateInput
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.