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 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