Struct aws_sdk_rekognition::types::TextDetectionResult
source · #[non_exhaustive]pub struct TextDetectionResult {
pub timestamp: i64,
pub text_detection: Option<TextDetection>,
}
Expand description
Information about text detected in a video. Incudes the detected text, the time in milliseconds from the start of the video that the text was detected, and where it was detected on the screen.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.timestamp: 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.
text_detection: Option<TextDetection>
Details about text detected in a video.
Implementations§
source§impl TextDetectionResult
impl TextDetectionResult
sourcepub fn timestamp(&self) -> i64
pub fn timestamp(&self) -> 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) -> Option<&TextDetection>
pub fn text_detection(&self) -> Option<&TextDetection>
Details about text detected in a video.
source§impl TextDetectionResult
impl TextDetectionResult
sourcepub fn builder() -> TextDetectionResultBuilder
pub fn builder() -> TextDetectionResultBuilder
Creates a new builder-style object to manufacture TextDetectionResult
.
Trait Implementations§
source§impl Clone for TextDetectionResult
impl Clone for TextDetectionResult
source§fn clone(&self) -> TextDetectionResult
fn clone(&self) -> TextDetectionResult
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 TextDetectionResult
impl Debug for TextDetectionResult
source§impl PartialEq<TextDetectionResult> for TextDetectionResult
impl PartialEq<TextDetectionResult> for TextDetectionResult
source§fn eq(&self, other: &TextDetectionResult) -> bool
fn eq(&self, other: &TextDetectionResult) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TextDetectionResult
Auto Trait Implementations§
impl RefUnwindSafe for TextDetectionResult
impl Send for TextDetectionResult
impl Sync for TextDetectionResult
impl Unpin for TextDetectionResult
impl UnwindSafe for TextDetectionResult
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