#[non_exhaustive]pub struct CompositeComponentRequestBuilder { /* private fields */ }Expand description
A builder for CompositeComponentRequest.
Implementations§
source§impl CompositeComponentRequestBuilder
impl CompositeComponentRequestBuilder
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the component type.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the component type.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the component type.
sourcepub fn properties(self, k: impl Into<String>, v: PropertyRequest) -> Self
pub fn properties(self, k: impl Into<String>, v: PropertyRequest) -> Self
Adds a key-value pair to properties.
To override the contents of this collection use set_properties.
This is an object that maps strings to the properties to set in the component type. Each string in the mapping must be unique to this object.
sourcepub fn set_properties(
self,
input: Option<HashMap<String, PropertyRequest>>
) -> Self
pub fn set_properties( self, input: Option<HashMap<String, PropertyRequest>> ) -> Self
This is an object that maps strings to the properties to set in the component type. Each string in the mapping must be unique to this object.
sourcepub fn get_properties(&self) -> &Option<HashMap<String, PropertyRequest>>
pub fn get_properties(&self) -> &Option<HashMap<String, PropertyRequest>>
This is an object that maps strings to the properties to set in the component type. Each string in the mapping must be unique to this object.
sourcepub fn property_groups(
self,
k: impl Into<String>,
v: ComponentPropertyGroupRequest
) -> Self
pub fn property_groups( self, k: impl Into<String>, v: ComponentPropertyGroupRequest ) -> Self
Adds a key-value pair to property_groups.
To override the contents of this collection use set_property_groups.
The property groups.
sourcepub fn set_property_groups(
self,
input: Option<HashMap<String, ComponentPropertyGroupRequest>>
) -> Self
pub fn set_property_groups( self, input: Option<HashMap<String, ComponentPropertyGroupRequest>> ) -> Self
The property groups.
sourcepub fn get_property_groups(
&self
) -> &Option<HashMap<String, ComponentPropertyGroupRequest>>
pub fn get_property_groups( &self ) -> &Option<HashMap<String, ComponentPropertyGroupRequest>>
The property groups.
sourcepub fn build(self) -> CompositeComponentRequest
pub fn build(self) -> CompositeComponentRequest
Consumes the builder and constructs a CompositeComponentRequest.
Trait Implementations§
source§impl Clone for CompositeComponentRequestBuilder
impl Clone for CompositeComponentRequestBuilder
source§fn clone(&self) -> CompositeComponentRequestBuilder
fn clone(&self) -> CompositeComponentRequestBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for CompositeComponentRequestBuilder
impl Default for CompositeComponentRequestBuilder
source§fn default() -> CompositeComponentRequestBuilder
fn default() -> CompositeComponentRequestBuilder
source§impl PartialEq for CompositeComponentRequestBuilder
impl PartialEq for CompositeComponentRequestBuilder
source§fn eq(&self, other: &CompositeComponentRequestBuilder) -> bool
fn eq(&self, other: &CompositeComponentRequestBuilder) -> bool
self and other values to be equal, and is used
by ==.