Enum google_api_proto::google::shopping::merchant::datasources::v1beta::data_source::Input
source · #[repr(i32)]pub enum Input {
Unspecified = 0,
Api = 1,
File = 2,
Ui = 3,
Autofeed = 4,
}
Expand description
Determines the type of input to the data source. Based on the input some settings might not be supported.
Variants§
Unspecified = 0
Input unspecified.
Api = 1
Represents data sources for which the data is primarily provided through the API.
File = 2
Represents data sources for which the data is primarily provided through file input. Data can still be provided through the API.
Ui = 3
The data source for products added directly in Merchant Center.
This type of data source can not be created or updated through this API, only by Merchant Center UI.
This type of data source is read only.
Autofeed = 4
This is also known as Automated feeds used to automatically build your product data. This type of data source can be enabled or disabled through the Accounts bundle.
Implementations§
source§impl Input
impl Input
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 Ord for Input
impl Ord for Input
source§impl PartialEq for Input
impl PartialEq for Input
source§impl PartialOrd for Input
impl PartialOrd for Input
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 Input
impl TryFrom<i32> for Input
§type Error = UnknownEnumValue
type Error = UnknownEnumValue
impl Copy for Input
impl Eq for Input
impl StructuralPartialEq for Input
Auto Trait Implementations§
impl Freeze for Input
impl RefUnwindSafe for Input
impl Send for Input
impl Sync for Input
impl Unpin for Input
impl UnwindSafe for Input
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