Struct aws_sdk_connectcases::types::builders::LayoutSectionsBuilder
source · #[non_exhaustive]pub struct LayoutSectionsBuilder { /* private fields */ }Expand description
A builder for LayoutSections.
Implementations§
source§impl LayoutSectionsBuilder
impl LayoutSectionsBuilder
sourcepub fn sections(self, input: Section) -> Self
pub fn sections(self, input: Section) -> Self
Appends an item to sections.
To override the contents of this collection use set_sections.
Ordered list containing different kinds of sections that can be added.
sourcepub fn set_sections(self, input: Option<Vec<Section>>) -> Self
pub fn set_sections(self, input: Option<Vec<Section>>) -> Self
Ordered list containing different kinds of sections that can be added.
sourcepub fn get_sections(&self) -> &Option<Vec<Section>>
pub fn get_sections(&self) -> &Option<Vec<Section>>
Ordered list containing different kinds of sections that can be added.
sourcepub fn build(self) -> LayoutSections
pub fn build(self) -> LayoutSections
Consumes the builder and constructs a LayoutSections.
Trait Implementations§
source§impl Clone for LayoutSectionsBuilder
impl Clone for LayoutSectionsBuilder
source§fn clone(&self) -> LayoutSectionsBuilder
fn clone(&self) -> LayoutSectionsBuilder
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 LayoutSectionsBuilder
impl Debug for LayoutSectionsBuilder
source§impl Default for LayoutSectionsBuilder
impl Default for LayoutSectionsBuilder
source§fn default() -> LayoutSectionsBuilder
fn default() -> LayoutSectionsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for LayoutSectionsBuilder
impl PartialEq for LayoutSectionsBuilder
source§fn eq(&self, other: &LayoutSectionsBuilder) -> bool
fn eq(&self, other: &LayoutSectionsBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for LayoutSectionsBuilder
Auto Trait Implementations§
impl Freeze for LayoutSectionsBuilder
impl RefUnwindSafe for LayoutSectionsBuilder
impl Send for LayoutSectionsBuilder
impl Sync for LayoutSectionsBuilder
impl Unpin for LayoutSectionsBuilder
impl UnwindSafe for LayoutSectionsBuilder
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>
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.