#[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<TextDetectionResultBuilder> for TextDetectionResultBuilder
impl PartialEq<TextDetectionResultBuilder> 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 ==
.