pub struct VideoFileMetadata { /* private fields */ }Expand description
Metadata specific to video files.
Implementations§
Source§impl VideoFileMetadata
impl VideoFileMetadata
Sourcepub fn builder() -> Builder<TimestampManifestStage>
pub fn builder() -> Builder<TimestampManifestStage>
Returns a new builder.
Source§impl VideoFileMetadata
impl VideoFileMetadata
Sourcepub fn new(timestamp_manifest: VideoFileTimestampManifest) -> Self
pub fn new(timestamp_manifest: VideoFileTimestampManifest) -> Self
Constructs a new instance of the type.
Sourcepub fn timestamp_manifest(&self) -> &VideoFileTimestampManifest
pub fn timestamp_manifest(&self) -> &VideoFileTimestampManifest
Specifies how to determine absolute timestamps for each frame in the video. Can be an embedded MCAP manifest, an external sidecar file, or calculated from a starting offset applied to presentation timestamps.
Sourcepub fn segment_metadata(&self) -> Option<&VideoSegmentsMetadata>
pub fn segment_metadata(&self) -> Option<&VideoSegmentsMetadata>
Cached aggregate metadata about the segments comprising this video file after segmentation has completed. Includes frame counts, duration, and frame rate. Empty until segmentation is complete. Note: Min/max timestamps are stored in DatasetFile.bounds field. Raw file size is stored in DatasetFile.fileSizeBytes.
Trait Implementations§
Source§impl Clone for VideoFileMetadata
impl Clone for VideoFileMetadata
Source§fn clone(&self) -> VideoFileMetadata
fn clone(&self) -> VideoFileMetadata
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for VideoFileMetadata
impl Debug for VideoFileMetadata
Source§impl<'de> Deserialize<'de> for VideoFileMetadata
impl<'de> Deserialize<'de> for VideoFileMetadata
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<VideoFileMetadata> for Builder<Complete>
impl From<VideoFileMetadata> for Builder<Complete>
Source§fn from(v: VideoFileMetadata) -> Self
fn from(v: VideoFileMetadata) -> Self
Converts to this type from the input type.
Source§impl Hash for VideoFileMetadata
impl Hash for VideoFileMetadata
Source§impl Ord for VideoFileMetadata
impl Ord for VideoFileMetadata
Source§impl PartialEq for VideoFileMetadata
impl PartialEq for VideoFileMetadata
Source§impl PartialOrd for VideoFileMetadata
impl PartialOrd for VideoFileMetadata
Source§impl Serialize for VideoFileMetadata
impl Serialize for VideoFileMetadata
impl Eq for VideoFileMetadata
Auto Trait Implementations§
impl Freeze for VideoFileMetadata
impl RefUnwindSafe for VideoFileMetadata
impl Send for VideoFileMetadata
impl Sync for VideoFileMetadata
impl Unpin for VideoFileMetadata
impl UnwindSafe for VideoFileMetadata
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request