[][src]Struct tfrecord::protos::summary::Audio

pub struct Audio {
    pub sample_rate: f32,
    pub num_channels: i64,
    pub length_frames: i64,
    pub encoded_audio_string: Vec<u8>,
    pub content_type: String,
}

Fields

sample_rate: f32

Sample rate of the audio in Hz.

num_channels: i64

Number of channels of audio.

length_frames: i64

Length of the audio in frames (samples per channel).

encoded_audio_string: Vec<u8>

Encoded audio data and its associated RFC 2045 content type (e.g. "audio/wav").

content_type: String

Trait Implementations

impl Clone for Audio[src]

impl Debug for Audio[src]

impl Default for Audio[src]

impl<'de> Deserialize<'de> for Audio[src]

impl Message for Audio[src]

impl PartialEq<Audio> for Audio[src]

impl Serialize for Audio[src]

impl StructuralPartialEq for Audio[src]

Auto Trait Implementations

impl RefUnwindSafe for Audio

impl Send for Audio

impl Sync for Audio

impl Unpin for Audio

impl UnwindSafe for Audio

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> SetParameter for T

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.