Enum google_api_proto::google::cloud::visionai::v1::processor::ProcessorType
source · #[repr(i32)]pub enum ProcessorType {
Unspecified = 0,
Pretrained = 1,
Custom = 2,
Connector = 3,
}
Expand description
Type
Variants§
Unspecified = 0
Processor Type UNSPECIFIED.
Pretrained = 1
Processor Type PRETRAINED. Pretrained processor is developed by Vision AI App Platform with state-of-the-art vision data processing functionality, like occupancy counting or person blur. Pretrained processor is usually publicly available.
Custom = 2
Processor Type CUSTOM. Custom processors are specialized processors which are either uploaded by customers or imported from other GCP platform (for example Vertex AI). Custom processor is only visible to the creator.
Connector = 3
Processor Type CONNECTOR. Connector processors are special processors which perform I/O for the application, they do not processing the data but either deliver the data to other processors or receive data from other processors.
Implementations§
source§impl ProcessorType
impl ProcessorType
source§impl ProcessorType
impl ProcessorType
sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
sourcepub fn from_str_name(value: &str) -> Option<Self>
pub fn from_str_name(value: &str) -> Option<Self>
Creates an enum from field names used in the ProtoBuf definition.
Trait Implementations§
source§impl Clone for ProcessorType
impl Clone for ProcessorType
source§fn clone(&self) -> ProcessorType
fn clone(&self) -> ProcessorType
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ProcessorType
impl Debug for ProcessorType
source§impl Default for ProcessorType
impl Default for ProcessorType
source§fn default() -> ProcessorType
fn default() -> ProcessorType
source§impl From<ProcessorType> for i32
impl From<ProcessorType> for i32
source§fn from(value: ProcessorType) -> i32
fn from(value: ProcessorType) -> i32
source§impl Hash for ProcessorType
impl Hash for ProcessorType
source§impl Ord for ProcessorType
impl Ord for ProcessorType
source§fn cmp(&self, other: &ProcessorType) -> Ordering
fn cmp(&self, other: &ProcessorType) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
source§impl PartialEq for ProcessorType
impl PartialEq for ProcessorType
source§fn eq(&self, other: &ProcessorType) -> bool
fn eq(&self, other: &ProcessorType) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ProcessorType
impl PartialOrd for ProcessorType
source§fn partial_cmp(&self, other: &ProcessorType) -> Option<Ordering>
fn partial_cmp(&self, other: &ProcessorType) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read moresource§impl TryFrom<i32> for ProcessorType
impl TryFrom<i32> for ProcessorType
§type Error = DecodeError
type Error = DecodeError
source§fn try_from(value: i32) -> Result<ProcessorType, DecodeError>
fn try_from(value: i32) -> Result<ProcessorType, DecodeError>
impl Copy for ProcessorType
impl Eq for ProcessorType
impl StructuralPartialEq for ProcessorType
Auto Trait Implementations§
impl Freeze for ProcessorType
impl RefUnwindSafe for ProcessorType
impl Send for ProcessorType
impl Sync for ProcessorType
impl Unpin for ProcessorType
impl UnwindSafe for ProcessorType
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§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