#[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.
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 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.
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 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.
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 build(self) -> Result<CreateLayoutInput, BuildError>
pub fn build(self) -> Result<CreateLayoutInput, BuildError>
Consumes the builder and constructs a CreateLayoutInput.
Trait Implementations§
source§impl Clone for CreateLayoutInputBuilder
impl Clone for CreateLayoutInputBuilder
source§fn clone(&self) -> CreateLayoutInputBuilder
fn clone(&self) -> CreateLayoutInputBuilder
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 CreateLayoutInputBuilder
impl Debug for CreateLayoutInputBuilder
source§impl Default for CreateLayoutInputBuilder
impl Default for CreateLayoutInputBuilder
source§fn default() -> CreateLayoutInputBuilder
fn default() -> CreateLayoutInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<CreateLayoutInputBuilder> for CreateLayoutInputBuilder
impl PartialEq<CreateLayoutInputBuilder> for CreateLayoutInputBuilder
source§fn eq(&self, other: &CreateLayoutInputBuilder) -> bool
fn eq(&self, other: &CreateLayoutInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.