Struct google_transcoder1_beta1::api::AudioChannelInput
source · [−]pub struct AudioChannelInput {
pub channel: Option<i32>,
pub gain_db: Option<f64>,
pub key: Option<String>,
pub track: Option<i32>,
}
Expand description
Identifies which input file, track, and channel should be used.
This type is not used in any activity, and only used as part of another schema.
Fields
channel: Option<i32>
Required. The zero-based index of the channel in the input file.
gain_db: Option<f64>
Audio volume control in dB. Negative values decrease volume, positive values increase. The default is 0.
key: Option<String>
Required. The Input.key
that identifies the input file.
track: Option<i32>
Required. The zero-based index of the track in the input file.
Trait Implementations
sourceimpl Clone for AudioChannelInput
impl Clone for AudioChannelInput
sourcefn clone(&self) -> AudioChannelInput
fn clone(&self) -> AudioChannelInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for AudioChannelInput
impl Debug for AudioChannelInput
sourceimpl Default for AudioChannelInput
impl Default for AudioChannelInput
sourcefn default() -> AudioChannelInput
fn default() -> AudioChannelInput
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for AudioChannelInput
impl<'de> Deserialize<'de> for AudioChannelInput
sourcefn 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
sourceimpl Serialize for AudioChannelInput
impl Serialize for AudioChannelInput
impl Part for AudioChannelInput
Auto Trait Implementations
impl RefUnwindSafe for AudioChannelInput
impl Send for AudioChannelInput
impl Sync for AudioChannelInput
impl Unpin for AudioChannelInput
impl UnwindSafe for AudioChannelInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more