Struct google_api_proto::google::cloud::aiplatform::v1::schema::predict::instance::VideoClassificationPredictionInstance
source · pub struct VideoClassificationPredictionInstance {
pub content: String,
pub mime_type: String,
pub time_segment_start: String,
pub time_segment_end: String,
}
Expand description
Prediction input format for Video Classification.
Fields§
§content: String
The Google Cloud Storage location of the video on which to perform the prediction.
mime_type: String
The MIME type of the content of the video. Only the following are supported: video/mp4 video/avi video/quicktime
time_segment_start: String
The beginning, inclusive, of the video’s time segment on which to perform the prediction. Expressed as a number of seconds as measured from the start of the video, with “s” appended at the end. Fractions are allowed, up to a microsecond precision.
time_segment_end: String
The end, exclusive, of the video’s time segment on which to perform the prediction. Expressed as a number of seconds as measured from the start of the video, with “s” appended at the end. Fractions are allowed, up to a microsecond precision, and “inf” or “Infinity” is allowed, which means the end of the video.
Trait Implementations§
source§impl Clone for VideoClassificationPredictionInstance
impl Clone for VideoClassificationPredictionInstance
source§fn clone(&self) -> VideoClassificationPredictionInstance
fn clone(&self) -> VideoClassificationPredictionInstance
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Message for VideoClassificationPredictionInstance
impl Message for VideoClassificationPredictionInstance
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for VideoClassificationPredictionInstance
impl PartialEq for VideoClassificationPredictionInstance
source§fn eq(&self, other: &VideoClassificationPredictionInstance) -> bool
fn eq(&self, other: &VideoClassificationPredictionInstance) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for VideoClassificationPredictionInstance
Auto Trait Implementations§
impl Freeze for VideoClassificationPredictionInstance
impl RefUnwindSafe for VideoClassificationPredictionInstance
impl Send for VideoClassificationPredictionInstance
impl Sync for VideoClassificationPredictionInstance
impl Unpin for VideoClassificationPredictionInstance
impl UnwindSafe for VideoClassificationPredictionInstance
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
§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>
T
in a tonic::Request