#[non_exhaustive]pub struct CreateLayoutInputBuilder { /* private fields */ }Expand description
A builder for CreateLayoutInput.
Implementations§
source§impl CreateLayoutInputBuilder
impl CreateLayoutInputBuilder
sourcepub fn domain_id(self, input: impl Into<String>) -> Self
pub fn domain_id(self, input: impl Into<String>) -> Self
The unique identifier of the Cases domain.
This field is required.sourcepub fn set_domain_id(self, input: Option<String>) -> Self
pub fn set_domain_id(self, input: Option<String>) -> Self
The unique identifier of the Cases domain.
sourcepub fn get_domain_id(&self) -> &Option<String>
pub fn get_domain_id(&self) -> &Option<String>
The unique identifier of the Cases domain.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the layout. It must be unique for the Cases domain.
This field is required.sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the layout. It must be unique for the Cases domain.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
The name of the layout. It must be unique for the Cases domain.
sourcepub fn content(self, input: LayoutContent) -> Self
pub fn content(self, input: LayoutContent) -> Self
Information about which fields will be present in the layout, and information about the order of the fields.
This field is required.sourcepub fn set_content(self, input: Option<LayoutContent>) -> Self
pub fn set_content(self, input: Option<LayoutContent>) -> Self
Information about which fields will be present in the layout, and information about the order of the fields.
sourcepub fn get_content(&self) -> &Option<LayoutContent>
pub fn get_content(&self) -> &Option<LayoutContent>
Information about which fields will be present in the layout, and information about the order of the fields.
sourcepub fn build(self) -> Result<CreateLayoutInput, BuildError>
pub fn build(self) -> Result<CreateLayoutInput, BuildError>
Consumes the builder and constructs a CreateLayoutInput.
source§impl CreateLayoutInputBuilder
impl CreateLayoutInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateLayoutOutput, SdkError<CreateLayoutError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateLayoutOutput, SdkError<CreateLayoutError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateLayoutInputBuilder
impl Clone for CreateLayoutInputBuilder
source§fn clone(&self) -> CreateLayoutInputBuilder
fn clone(&self) -> CreateLayoutInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateLayoutInputBuilder
impl Debug for CreateLayoutInputBuilder
source§impl Default for CreateLayoutInputBuilder
impl Default for CreateLayoutInputBuilder
source§fn default() -> CreateLayoutInputBuilder
fn default() -> CreateLayoutInputBuilder
source§impl PartialEq for CreateLayoutInputBuilder
impl PartialEq for CreateLayoutInputBuilder
source§fn eq(&self, other: &CreateLayoutInputBuilder) -> bool
fn eq(&self, other: &CreateLayoutInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CreateLayoutInputBuilder
Auto Trait Implementations§
impl Freeze for CreateLayoutInputBuilder
impl RefUnwindSafe for CreateLayoutInputBuilder
impl Send for CreateLayoutInputBuilder
impl Sync for CreateLayoutInputBuilder
impl Unpin for CreateLayoutInputBuilder
impl UnwindSafe for CreateLayoutInputBuilder
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more