#[non_exhaustive]pub struct RealTimeContactAnalysisSegmentCategoriesBuilder { /* private fields */ }
Expand description
A builder for RealTimeContactAnalysisSegmentCategories
.
Implementations§
source§impl RealTimeContactAnalysisSegmentCategoriesBuilder
impl RealTimeContactAnalysisSegmentCategoriesBuilder
sourcepub fn matched_details(
self,
k: impl Into<String>,
v: RealTimeContactAnalysisCategoryDetails
) -> Self
pub fn matched_details( self, k: impl Into<String>, v: RealTimeContactAnalysisCategoryDetails ) -> Self
Adds a key-value pair to matched_details
.
To override the contents of this collection use set_matched_details
.
Map between the name of the matched rule and RealTimeContactAnalysisCategoryDetails.
sourcepub fn set_matched_details(
self,
input: Option<HashMap<String, RealTimeContactAnalysisCategoryDetails>>
) -> Self
pub fn set_matched_details( self, input: Option<HashMap<String, RealTimeContactAnalysisCategoryDetails>> ) -> Self
Map between the name of the matched rule and RealTimeContactAnalysisCategoryDetails.
sourcepub fn get_matched_details(
&self
) -> &Option<HashMap<String, RealTimeContactAnalysisCategoryDetails>>
pub fn get_matched_details( &self ) -> &Option<HashMap<String, RealTimeContactAnalysisCategoryDetails>>
Map between the name of the matched rule and RealTimeContactAnalysisCategoryDetails.
sourcepub fn build(
self
) -> Result<RealTimeContactAnalysisSegmentCategories, BuildError>
pub fn build( self ) -> Result<RealTimeContactAnalysisSegmentCategories, BuildError>
Consumes the builder and constructs a RealTimeContactAnalysisSegmentCategories
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for RealTimeContactAnalysisSegmentCategoriesBuilder
impl Clone for RealTimeContactAnalysisSegmentCategoriesBuilder
source§fn clone(&self) -> RealTimeContactAnalysisSegmentCategoriesBuilder
fn clone(&self) -> RealTimeContactAnalysisSegmentCategoriesBuilder
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 RealTimeContactAnalysisSegmentCategoriesBuilder
impl Default for RealTimeContactAnalysisSegmentCategoriesBuilder
source§fn default() -> RealTimeContactAnalysisSegmentCategoriesBuilder
fn default() -> RealTimeContactAnalysisSegmentCategoriesBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for RealTimeContactAnalysisSegmentCategoriesBuilder
impl PartialEq for RealTimeContactAnalysisSegmentCategoriesBuilder
source§fn eq(&self, other: &RealTimeContactAnalysisSegmentCategoriesBuilder) -> bool
fn eq(&self, other: &RealTimeContactAnalysisSegmentCategoriesBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RealTimeContactAnalysisSegmentCategoriesBuilder
Auto Trait Implementations§
impl RefUnwindSafe for RealTimeContactAnalysisSegmentCategoriesBuilder
impl Send for RealTimeContactAnalysisSegmentCategoriesBuilder
impl Sync for RealTimeContactAnalysisSegmentCategoriesBuilder
impl Unpin for RealTimeContactAnalysisSegmentCategoriesBuilder
impl UnwindSafe for RealTimeContactAnalysisSegmentCategoriesBuilder
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.