Struct google_api_proto::google::cloud::vision::v1p3beta1::ProductSet
source · pub struct ProductSet {
pub name: String,
pub display_name: String,
pub index_time: Option<Timestamp>,
pub index_error: Option<Status>,
}
Expand description
A ProductSet contains Products. A ProductSet can contain a maximum of 1 million reference images. If the limit is exceeded, periodic indexing will fail.
Fields§
§name: String
The resource name of the ProductSet.
Format is:
projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID
.
This field is ignored when creating a ProductSet.
display_name: String
The user-provided name for this ProductSet. Must not be empty. Must be at most 4096 characters long.
index_time: Option<Timestamp>
Output only. The time at which this ProductSet was last indexed. Query results will reflect all updates before this time. If this ProductSet has never been indexed, this field is 0.
This field is ignored when creating a ProductSet.
index_error: Option<Status>
Output only. If there was an error with indexing the product set, the field is populated.
This field is ignored when creating a ProductSet.
Trait Implementations§
source§impl Clone for ProductSet
impl Clone for ProductSet
source§fn clone(&self) -> ProductSet
fn clone(&self) -> ProductSet
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ProductSet
impl Debug for ProductSet
source§impl Default for ProductSet
impl Default for ProductSet
source§impl Message for ProductSet
impl Message for ProductSet
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 ProductSet
impl PartialEq for ProductSet
source§fn eq(&self, other: &ProductSet) -> bool
fn eq(&self, other: &ProductSet) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ProductSet
Auto Trait Implementations§
impl Freeze for ProductSet
impl RefUnwindSafe for ProductSet
impl Send for ProductSet
impl Sync for ProductSet
impl Unpin for ProductSet
impl UnwindSafe for ProductSet
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