pub struct EncodingParams {
pub bitrate: u32,
pub width: u32,
pub height: u32,
pub preset: String,
pub profile: String,
pub crf: u32,
pub extra_params: HashMap<String, String>,
}Fields§
§bitrate: u32§width: u32§height: u32§preset: String§profile: String§crf: u32§extra_params: HashMap<String, String>Trait Implementations§
Source§impl Clone for EncodingParams
impl Clone for EncodingParams
Source§fn clone(&self) -> EncodingParams
fn clone(&self) -> EncodingParams
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 EncodingParams
impl Debug for EncodingParams
Source§impl Default for EncodingParams
impl Default for EncodingParams
Source§fn default() -> EncodingParams
fn default() -> EncodingParams
Returns the “default value” for a type. Read more
Source§impl PartialEq for EncodingParams
impl PartialEq for EncodingParams
impl StructuralPartialEq for EncodingParams
Auto Trait Implementations§
impl Freeze for EncodingParams
impl RefUnwindSafe for EncodingParams
impl Send for EncodingParams
impl Sync for EncodingParams
impl Unpin for EncodingParams
impl UnsafeUnpin for EncodingParams
impl UnwindSafe for EncodingParams
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<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