#[non_exhaustive]pub struct SubSlotTypeCompositionBuilder { /* private fields */ }Expand description
A builder for SubSlotTypeComposition.
Implementations§
source§impl SubSlotTypeCompositionBuilder
impl SubSlotTypeCompositionBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
Name of a constituent sub slot inside a composite slot.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
Name of a constituent sub slot inside a composite slot.
sourcepub fn slot_type_id(self, input: impl Into<String>) -> Self
pub fn slot_type_id(self, input: impl Into<String>) -> Self
The unique identifier assigned to a slot type. This refers to either a built-in slot type or the unique slotTypeId of a custom slot type.
sourcepub fn set_slot_type_id(self, input: Option<String>) -> Self
pub fn set_slot_type_id(self, input: Option<String>) -> Self
The unique identifier assigned to a slot type. This refers to either a built-in slot type or the unique slotTypeId of a custom slot type.
sourcepub fn build(self) -> SubSlotTypeComposition
pub fn build(self) -> SubSlotTypeComposition
Consumes the builder and constructs a SubSlotTypeComposition.
Trait Implementations§
source§impl Clone for SubSlotTypeCompositionBuilder
impl Clone for SubSlotTypeCompositionBuilder
source§fn clone(&self) -> SubSlotTypeCompositionBuilder
fn clone(&self) -> SubSlotTypeCompositionBuilder
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 SubSlotTypeCompositionBuilder
impl Default for SubSlotTypeCompositionBuilder
source§fn default() -> SubSlotTypeCompositionBuilder
fn default() -> SubSlotTypeCompositionBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<SubSlotTypeCompositionBuilder> for SubSlotTypeCompositionBuilder
impl PartialEq<SubSlotTypeCompositionBuilder> for SubSlotTypeCompositionBuilder
source§fn eq(&self, other: &SubSlotTypeCompositionBuilder) -> bool
fn eq(&self, other: &SubSlotTypeCompositionBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.