#[non_exhaustive]pub struct TextDetectionResultBuilder { /* private fields */ }Expand description
A builder for TextDetectionResult.
Implementations§
source§impl TextDetectionResultBuilder
impl TextDetectionResultBuilder
sourcepub fn timestamp(self, input: i64) -> Self
pub fn timestamp(self, input: i64) -> Self
The time, in milliseconds from the start of the video, that the text was detected. Note that Timestamp is not guaranteed to be accurate to the individual frame where the text first appears.
sourcepub fn set_timestamp(self, input: Option<i64>) -> Self
pub fn set_timestamp(self, input: Option<i64>) -> Self
The time, in milliseconds from the start of the video, that the text was detected. Note that Timestamp is not guaranteed to be accurate to the individual frame where the text first appears.
sourcepub fn get_timestamp(&self) -> &Option<i64>
pub fn get_timestamp(&self) -> &Option<i64>
The time, in milliseconds from the start of the video, that the text was detected. Note that Timestamp is not guaranteed to be accurate to the individual frame where the text first appears.
sourcepub fn text_detection(self, input: TextDetection) -> Self
pub fn text_detection(self, input: TextDetection) -> Self
Details about text detected in a video.
sourcepub fn set_text_detection(self, input: Option<TextDetection>) -> Self
pub fn set_text_detection(self, input: Option<TextDetection>) -> Self
Details about text detected in a video.
sourcepub fn get_text_detection(&self) -> &Option<TextDetection>
pub fn get_text_detection(&self) -> &Option<TextDetection>
Details about text detected in a video.
sourcepub fn build(self) -> TextDetectionResult
pub fn build(self) -> TextDetectionResult
Consumes the builder and constructs a TextDetectionResult.
Trait Implementations§
source§impl Clone for TextDetectionResultBuilder
impl Clone for TextDetectionResultBuilder
source§fn clone(&self) -> TextDetectionResultBuilder
fn clone(&self) -> TextDetectionResultBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for TextDetectionResultBuilder
impl Debug for TextDetectionResultBuilder
source§impl Default for TextDetectionResultBuilder
impl Default for TextDetectionResultBuilder
source§fn default() -> TextDetectionResultBuilder
fn default() -> TextDetectionResultBuilder
source§impl PartialEq for TextDetectionResultBuilder
impl PartialEq for TextDetectionResultBuilder
source§fn eq(&self, other: &TextDetectionResultBuilder) -> bool
fn eq(&self, other: &TextDetectionResultBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for TextDetectionResultBuilder
Auto Trait Implementations§
impl Freeze for TextDetectionResultBuilder
impl RefUnwindSafe for TextDetectionResultBuilder
impl Send for TextDetectionResultBuilder
impl Sync for TextDetectionResultBuilder
impl Unpin for TextDetectionResultBuilder
impl UnwindSafe for TextDetectionResultBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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>
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>
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 more