Enum google_api_proto::google::appengine::v1::InboundServiceType
source · #[repr(i32)]pub enum InboundServiceType {
InboundServiceUnspecified = 0,
InboundServiceMail = 1,
InboundServiceMailBounce = 2,
InboundServiceXmppError = 3,
InboundServiceXmppMessage = 4,
InboundServiceXmppSubscribe = 5,
InboundServiceXmppPresence = 6,
InboundServiceChannelPresence = 7,
InboundServiceWarmup = 9,
}
Expand description
Available inbound services.
Variants§
InboundServiceUnspecified = 0
Not specified.
InboundServiceMail = 1
Allows an application to receive mail.
InboundServiceMailBounce = 2
Allows an application to receive email-bound notifications.
InboundServiceXmppError = 3
Allows an application to receive error stanzas.
InboundServiceXmppMessage = 4
Allows an application to receive instant messages.
InboundServiceXmppSubscribe = 5
Allows an application to receive user subscription POSTs.
InboundServiceXmppPresence = 6
Allows an application to receive a user’s chat presence.
InboundServiceChannelPresence = 7
Registers an application for notifications when a client connects or disconnects from a channel.
InboundServiceWarmup = 9
Enables warmup requests.
Implementations§
source§impl InboundServiceType
impl InboundServiceType
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 InboundServiceType
impl Clone for InboundServiceType
source§fn clone(&self) -> InboundServiceType
fn clone(&self) -> InboundServiceType
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for InboundServiceType
impl Debug for InboundServiceType
source§impl Default for InboundServiceType
impl Default for InboundServiceType
source§fn default() -> InboundServiceType
fn default() -> InboundServiceType
source§impl From<InboundServiceType> for i32
impl From<InboundServiceType> for i32
source§fn from(value: InboundServiceType) -> i32
fn from(value: InboundServiceType) -> i32
source§impl Hash for InboundServiceType
impl Hash for InboundServiceType
source§impl Ord for InboundServiceType
impl Ord for InboundServiceType
source§fn cmp(&self, other: &InboundServiceType) -> Ordering
fn cmp(&self, other: &InboundServiceType) -> 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 InboundServiceType
impl PartialEq for InboundServiceType
source§fn eq(&self, other: &InboundServiceType) -> bool
fn eq(&self, other: &InboundServiceType) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for InboundServiceType
impl PartialOrd for InboundServiceType
source§fn partial_cmp(&self, other: &InboundServiceType) -> Option<Ordering>
fn partial_cmp(&self, other: &InboundServiceType) -> 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 InboundServiceType
impl TryFrom<i32> for InboundServiceType
§type Error = UnknownEnumValue
type Error = UnknownEnumValue
source§fn try_from(value: i32) -> Result<InboundServiceType, UnknownEnumValue>
fn try_from(value: i32) -> Result<InboundServiceType, UnknownEnumValue>
impl Copy for InboundServiceType
impl Eq for InboundServiceType
impl StructuralPartialEq for InboundServiceType
Auto Trait Implementations§
impl Freeze for InboundServiceType
impl RefUnwindSafe for InboundServiceType
impl Send for InboundServiceType
impl Sync for InboundServiceType
impl Unpin for InboundServiceType
impl UnwindSafe for InboundServiceType
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