#[non_exhaustive]pub struct CategoryDetailsBuilder { /* private fields */ }
Expand description
A builder for CategoryDetails
.
Implementations§
source§impl CategoryDetailsBuilder
impl CategoryDetailsBuilder
sourcepub fn points_of_interest(self, input: PointOfInterest) -> Self
pub fn points_of_interest(self, input: PointOfInterest) -> Self
Appends an item to points_of_interest
.
To override the contents of this collection use set_points_of_interest
.
The section of audio where the category rule was detected.
sourcepub fn set_points_of_interest(self, input: Option<Vec<PointOfInterest>>) -> Self
pub fn set_points_of_interest(self, input: Option<Vec<PointOfInterest>>) -> Self
The section of audio where the category rule was detected.
sourcepub fn get_points_of_interest(&self) -> &Option<Vec<PointOfInterest>>
pub fn get_points_of_interest(&self) -> &Option<Vec<PointOfInterest>>
The section of audio where the category rule was detected.
sourcepub fn build(self) -> CategoryDetails
pub fn build(self) -> CategoryDetails
Consumes the builder and constructs a CategoryDetails
.
Trait Implementations§
source§impl Clone for CategoryDetailsBuilder
impl Clone for CategoryDetailsBuilder
source§fn clone(&self) -> CategoryDetailsBuilder
fn clone(&self) -> CategoryDetailsBuilder
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 CategoryDetailsBuilder
impl Debug for CategoryDetailsBuilder
source§impl Default for CategoryDetailsBuilder
impl Default for CategoryDetailsBuilder
source§fn default() -> CategoryDetailsBuilder
fn default() -> CategoryDetailsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CategoryDetailsBuilder
impl PartialEq for CategoryDetailsBuilder
source§fn eq(&self, other: &CategoryDetailsBuilder) -> bool
fn eq(&self, other: &CategoryDetailsBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CategoryDetailsBuilder
Auto Trait Implementations§
impl Freeze for CategoryDetailsBuilder
impl RefUnwindSafe for CategoryDetailsBuilder
impl Send for CategoryDetailsBuilder
impl Sync for CategoryDetailsBuilder
impl Unpin for CategoryDetailsBuilder
impl UnwindSafe for CategoryDetailsBuilder
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.