#[non_exhaustive]pub struct CloudStorageResult {
pub uri: String,
pub vtt_format_uri: String,
pub srt_format_uri: String,
/* private fields */
}Expand description
Final results written to Cloud Storage.
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.uri: StringThe Cloud Storage URI to which recognition results were written.
vtt_format_uri: StringThe Cloud Storage URI to which recognition results were written as VTT
formatted captions. This is populated only when VTT output is requested.
srt_format_uri: StringThe Cloud Storage URI to which recognition results were written as SRT
formatted captions. This is populated only when SRT output is requested.
Implementations§
Source§impl CloudStorageResult
impl CloudStorageResult
pub fn new() -> Self
Sourcepub fn set_vtt_format_uri<T: Into<String>>(self, v: T) -> Self
pub fn set_vtt_format_uri<T: Into<String>>(self, v: T) -> Self
Sets the value of vtt_format_uri.
§Example
ⓘ
let x = CloudStorageResult::new().set_vtt_format_uri("example");Sourcepub fn set_srt_format_uri<T: Into<String>>(self, v: T) -> Self
pub fn set_srt_format_uri<T: Into<String>>(self, v: T) -> Self
Sets the value of srt_format_uri.
§Example
ⓘ
let x = CloudStorageResult::new().set_srt_format_uri("example");Trait Implementations§
Source§impl Clone for CloudStorageResult
impl Clone for CloudStorageResult
Source§fn clone(&self) -> CloudStorageResult
fn clone(&self) -> CloudStorageResult
Returns a duplicate 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 CloudStorageResult
impl Debug for CloudStorageResult
Source§impl Default for CloudStorageResult
impl Default for CloudStorageResult
Source§fn default() -> CloudStorageResult
fn default() -> CloudStorageResult
Returns the “default value” for a type. Read more
Source§impl Message for CloudStorageResult
impl Message for CloudStorageResult
Source§impl PartialEq for CloudStorageResult
impl PartialEq for CloudStorageResult
impl StructuralPartialEq for CloudStorageResult
Auto Trait Implementations§
impl Freeze for CloudStorageResult
impl RefUnwindSafe for CloudStorageResult
impl Send for CloudStorageResult
impl Sync for CloudStorageResult
impl Unpin for CloudStorageResult
impl UnwindSafe for CloudStorageResult
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