#[non_exhaustive]pub struct UpdateLayoutInputBuilder { /* private fields */ }Expand description
A builder for UpdateLayoutInput.
Implementations§
source§impl UpdateLayoutInputBuilder
impl UpdateLayoutInputBuilder
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 layout_id(self, input: impl Into<String>) -> Self
pub fn layout_id(self, input: impl Into<String>) -> Self
The unique identifier of the layout.
This field is required.sourcepub fn set_layout_id(self, input: Option<String>) -> Self
pub fn set_layout_id(self, input: Option<String>) -> Self
The unique identifier of the layout.
sourcepub fn get_layout_id(&self) -> &Option<String>
pub fn get_layout_id(&self) -> &Option<String>
The unique identifier of the layout.
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 per 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 per domain.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
The name of the layout. It must be unique per 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, 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, 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, the order of the fields.
sourcepub fn build(self) -> Result<UpdateLayoutInput, BuildError>
pub fn build(self) -> Result<UpdateLayoutInput, BuildError>
Consumes the builder and constructs a UpdateLayoutInput.
source§impl UpdateLayoutInputBuilder
impl UpdateLayoutInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateLayoutOutput, SdkError<UpdateLayoutError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateLayoutOutput, SdkError<UpdateLayoutError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateLayoutInputBuilder
impl Clone for UpdateLayoutInputBuilder
source§fn clone(&self) -> UpdateLayoutInputBuilder
fn clone(&self) -> UpdateLayoutInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for UpdateLayoutInputBuilder
impl Debug for UpdateLayoutInputBuilder
source§impl Default for UpdateLayoutInputBuilder
impl Default for UpdateLayoutInputBuilder
source§fn default() -> UpdateLayoutInputBuilder
fn default() -> UpdateLayoutInputBuilder
source§impl PartialEq for UpdateLayoutInputBuilder
impl PartialEq for UpdateLayoutInputBuilder
source§fn eq(&self, other: &UpdateLayoutInputBuilder) -> bool
fn eq(&self, other: &UpdateLayoutInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdateLayoutInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateLayoutInputBuilder
impl RefUnwindSafe for UpdateLayoutInputBuilder
impl Send for UpdateLayoutInputBuilder
impl Sync for UpdateLayoutInputBuilder
impl Unpin for UpdateLayoutInputBuilder
impl UnwindSafe for UpdateLayoutInputBuilder
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