Enum google_api_proto::google::cloud::video::transcoder::v1::sprite_sheet::ExtractionStrategy
source · pub enum ExtractionStrategy {
TotalCount(i32),
Interval(Duration),
}
Expand description
Specify either total number of sprites or interval to create sprites.
Variants§
TotalCount(i32)
Total number of sprites. Create the specified number of sprites distributed evenly across the timeline of the output media. The default is 100.
Interval(Duration)
Starting from 0s
, create sprites at regular intervals. Specify the
interval value in seconds.
Implementations§
source§impl ExtractionStrategy
impl ExtractionStrategy
sourcepub fn merge(
field: &mut Option<ExtractionStrategy>,
tag: u32,
wire_type: WireType,
buf: &mut impl Buf,
ctx: DecodeContext,
) -> Result<(), DecodeError>
pub fn merge( field: &mut Option<ExtractionStrategy>, tag: u32, wire_type: WireType, buf: &mut impl Buf, ctx: DecodeContext, ) -> Result<(), DecodeError>
Decodes an instance of the message from a buffer, and merges it into self.
sourcepub fn encoded_len(&self) -> usize
pub fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Trait Implementations§
source§impl Clone for ExtractionStrategy
impl Clone for ExtractionStrategy
source§fn clone(&self) -> ExtractionStrategy
fn clone(&self) -> ExtractionStrategy
Returns a copy 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 ExtractionStrategy
impl Debug for ExtractionStrategy
source§impl PartialEq for ExtractionStrategy
impl PartialEq for ExtractionStrategy
source§fn eq(&self, other: &ExtractionStrategy) -> bool
fn eq(&self, other: &ExtractionStrategy) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ExtractionStrategy
impl StructuralPartialEq for ExtractionStrategy
Auto Trait Implementations§
impl Freeze for ExtractionStrategy
impl RefUnwindSafe for ExtractionStrategy
impl Send for ExtractionStrategy
impl Sync for ExtractionStrategy
impl Unpin for ExtractionStrategy
impl UnwindSafe for ExtractionStrategy
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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