#[non_exhaustive]pub struct CreateSiteInput {
pub client_token: Option<String>,
pub name: Option<String>,
pub country_code: Option<String>,
pub description: 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.client_token: Option<String>Token used for detecting replayed requests. Replayed requests will not be performed multiple times.
name: Option<String>Human friendly name of the resource.
country_code: Option<String>A valid ISO 3166-1 alpha-2 code for the country in which the site resides. e.g., US.
description: Option<String>A high-level description of the site.
Implementations§
source§impl CreateSiteInput
impl CreateSiteInput
sourcepub fn client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
Token used for detecting replayed requests. Replayed requests will not be performed multiple times.
sourcepub fn country_code(&self) -> Option<&str>
pub fn country_code(&self) -> Option<&str>
A valid ISO 3166-1 alpha-2 code for the country in which the site resides. e.g., US.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A high-level description of the site.
source§impl CreateSiteInput
impl CreateSiteInput
sourcepub fn builder() -> CreateSiteInputBuilder
pub fn builder() -> CreateSiteInputBuilder
Creates a new builder-style object to manufacture CreateSiteInput.
Trait Implementations§
source§impl Clone for CreateSiteInput
impl Clone for CreateSiteInput
source§fn clone(&self) -> CreateSiteInput
fn clone(&self) -> CreateSiteInput
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 CreateSiteInput
impl Debug for CreateSiteInput
source§impl PartialEq<CreateSiteInput> for CreateSiteInput
impl PartialEq<CreateSiteInput> for CreateSiteInput
source§fn eq(&self, other: &CreateSiteInput) -> bool
fn eq(&self, other: &CreateSiteInput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CreateSiteInput
Auto Trait Implementations§
impl RefUnwindSafe for CreateSiteInput
impl Send for CreateSiteInput
impl Sync for CreateSiteInput
impl Unpin for CreateSiteInput
impl UnwindSafe for CreateSiteInput
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