pub struct VideoAllSegmentsMetadata { /* private fields */ }
Implementations§
Source§impl VideoAllSegmentsMetadata
impl VideoAllSegmentsMetadata
pub fn rid(&self) -> &VideoRid
pub fn num_frames(&self) -> i32
pub fn num_segments(&self) -> i32
Sourcepub fn scale_factor(&self) -> Option<f64>
pub fn scale_factor(&self) -> Option<f64>
deprecated, in favor of per-file VideoFileSegmentsMetadata scaleFactor. Will be removed after April 15th.
pub fn min_absolute_timestamp(&self) -> &Timestamp
Sourcepub fn max_absolute_timestamp(&self) -> &Timestamp
pub fn max_absolute_timestamp(&self) -> &Timestamp
the timestamp corresponding to absolute starting timestamp plus absolute duration of the video.
pub fn media_duration_seconds(&self) -> f64
Sourcepub fn media_frame_rate(&self) -> f64
pub fn media_frame_rate(&self) -> f64
The average media frame rate (FPS) of the video calculated as total frames / duration in seconds.
Sourcepub fn min_timestamp(&self) -> Option<&Timestamp>
pub fn min_timestamp(&self) -> Option<&Timestamp>
deprecated. Will be removed after April 15th.
Sourcepub fn max_timestamp(&self) -> Option<&Timestamp>
pub fn max_timestamp(&self) -> Option<&Timestamp>
deprecated. Will be removed after April 15th.
Sourcepub fn duration_seconds(&self) -> Option<f64>
pub fn duration_seconds(&self) -> Option<f64>
deprecated. Will be removed after April 15th.
Sourcepub fn frame_rate(&self) -> Option<f64>
pub fn frame_rate(&self) -> Option<f64>
deprecated. Will be removed after April 15th.
Trait Implementations§
Source§impl Clone for VideoAllSegmentsMetadata
impl Clone for VideoAllSegmentsMetadata
Source§fn clone(&self) -> VideoAllSegmentsMetadata
fn clone(&self) -> VideoAllSegmentsMetadata
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 VideoAllSegmentsMetadata
impl Debug for VideoAllSegmentsMetadata
Source§impl<'de> Deserialize<'de> for VideoAllSegmentsMetadata
impl<'de> Deserialize<'de> for VideoAllSegmentsMetadata
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<VideoAllSegmentsMetadata> for Builder<Complete>
impl From<VideoAllSegmentsMetadata> for Builder<Complete>
Source§fn from(v: VideoAllSegmentsMetadata) -> Self
fn from(v: VideoAllSegmentsMetadata) -> Self
Converts to this type from the input type.
Source§impl Hash for VideoAllSegmentsMetadata
impl Hash for VideoAllSegmentsMetadata
Source§impl Ord for VideoAllSegmentsMetadata
impl Ord for VideoAllSegmentsMetadata
Source§impl PartialEq for VideoAllSegmentsMetadata
impl PartialEq for VideoAllSegmentsMetadata
Source§impl PartialOrd for VideoAllSegmentsMetadata
impl PartialOrd for VideoAllSegmentsMetadata
Source§impl Serialize for VideoAllSegmentsMetadata
impl Serialize for VideoAllSegmentsMetadata
impl Eq for VideoAllSegmentsMetadata
Auto Trait Implementations§
impl Freeze for VideoAllSegmentsMetadata
impl RefUnwindSafe for VideoAllSegmentsMetadata
impl Send for VideoAllSegmentsMetadata
impl Sync for VideoAllSegmentsMetadata
impl Unpin for VideoAllSegmentsMetadata
impl UnwindSafe for VideoAllSegmentsMetadata
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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