#[non_exhaustive]pub struct ComponentPropertyGroupResponseBuilder { /* private fields */ }Expand description
A builder for ComponentPropertyGroupResponse.
Implementations§
source§impl ComponentPropertyGroupResponseBuilder
impl ComponentPropertyGroupResponseBuilder
sourcepub fn group_type(self, input: GroupType) -> Self
pub fn group_type(self, input: GroupType) -> Self
The group type.
This field is required.sourcepub fn set_group_type(self, input: Option<GroupType>) -> Self
pub fn set_group_type(self, input: Option<GroupType>) -> Self
The group type.
sourcepub fn get_group_type(&self) -> &Option<GroupType>
pub fn get_group_type(&self) -> &Option<GroupType>
The group type.
sourcepub fn property_names(self, input: impl Into<String>) -> Self
pub fn property_names(self, input: impl Into<String>) -> Self
Appends an item to property_names.
To override the contents of this collection use set_property_names.
The names of properties
sourcepub fn set_property_names(self, input: Option<Vec<String>>) -> Self
pub fn set_property_names(self, input: Option<Vec<String>>) -> Self
The names of properties
sourcepub fn get_property_names(&self) -> &Option<Vec<String>>
pub fn get_property_names(&self) -> &Option<Vec<String>>
The names of properties
sourcepub fn is_inherited(self, input: bool) -> Self
pub fn is_inherited(self, input: bool) -> Self
A Boolean value that specifies whether the property group is inherited from a parent entity
This field is required.sourcepub fn set_is_inherited(self, input: Option<bool>) -> Self
pub fn set_is_inherited(self, input: Option<bool>) -> Self
A Boolean value that specifies whether the property group is inherited from a parent entity
sourcepub fn get_is_inherited(&self) -> &Option<bool>
pub fn get_is_inherited(&self) -> &Option<bool>
A Boolean value that specifies whether the property group is inherited from a parent entity
sourcepub fn build(self) -> Result<ComponentPropertyGroupResponse, BuildError>
pub fn build(self) -> Result<ComponentPropertyGroupResponse, BuildError>
Consumes the builder and constructs a ComponentPropertyGroupResponse.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ComponentPropertyGroupResponseBuilder
impl Clone for ComponentPropertyGroupResponseBuilder
source§fn clone(&self) -> ComponentPropertyGroupResponseBuilder
fn clone(&self) -> ComponentPropertyGroupResponseBuilder
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 Default for ComponentPropertyGroupResponseBuilder
impl Default for ComponentPropertyGroupResponseBuilder
source§fn default() -> ComponentPropertyGroupResponseBuilder
fn default() -> ComponentPropertyGroupResponseBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ComponentPropertyGroupResponseBuilder
impl PartialEq for ComponentPropertyGroupResponseBuilder
source§fn eq(&self, other: &ComponentPropertyGroupResponseBuilder) -> bool
fn eq(&self, other: &ComponentPropertyGroupResponseBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ComponentPropertyGroupResponseBuilder
Auto Trait Implementations§
impl Freeze for ComponentPropertyGroupResponseBuilder
impl RefUnwindSafe for ComponentPropertyGroupResponseBuilder
impl Send for ComponentPropertyGroupResponseBuilder
impl Sync for ComponentPropertyGroupResponseBuilder
impl Unpin for ComponentPropertyGroupResponseBuilder
impl UnwindSafe for ComponentPropertyGroupResponseBuilder
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>
Creates a shared type from an unshared type.