#[non_exhaustive]pub struct GetTranscriptResult {
pub structured_transcript: Option<ApiStructuredTranscript>,
}Available on crate features
sync_routes and dbx_riviera only.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.structured_transcript: Option<ApiStructuredTranscript>The structured transcript produced for the requested media asset, with per-segment text, start/end offsets (in seconds from the beginning of the media), and the detected or caller-supplied locale.
Implementations§
Source§impl GetTranscriptResult
impl GetTranscriptResult
pub fn with_structured_transcript(self, value: ApiStructuredTranscript) -> Self
Trait Implementations§
Source§impl Clone for GetTranscriptResult
impl Clone for GetTranscriptResult
Source§fn clone(&self) -> GetTranscriptResult
fn clone(&self) -> GetTranscriptResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GetTranscriptResult
impl Debug for GetTranscriptResult
Source§impl Default for GetTranscriptResult
impl Default for GetTranscriptResult
Source§fn default() -> GetTranscriptResult
fn default() -> GetTranscriptResult
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetTranscriptResult
impl<'de> Deserialize<'de> for GetTranscriptResult
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for GetTranscriptResult
impl PartialEq for GetTranscriptResult
Source§fn eq(&self, other: &GetTranscriptResult) -> bool
fn eq(&self, other: &GetTranscriptResult) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for GetTranscriptResult
impl Serialize for GetTranscriptResult
impl StructuralPartialEq for GetTranscriptResult
Auto Trait Implementations§
impl Freeze for GetTranscriptResult
impl RefUnwindSafe for GetTranscriptResult
impl Send for GetTranscriptResult
impl Sync for GetTranscriptResult
impl Unpin for GetTranscriptResult
impl UnsafeUnpin for GetTranscriptResult
impl UnwindSafe for GetTranscriptResult
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