#[repr(i32)]pub enum ActivityEventSource {
ACTIVITY_SOURCE_UNSPECIFIED = 0,
ACTIVITY_SOURCE_WEB = 1,
ACTIVITY_SOURCE_MOBILE = 2,
ACTIVITY_SOURCE_API = 3,
}Expand description
Client channel from which an activity event originated.
Variants§
ACTIVITY_SOURCE_UNSPECIFIED = 0
No activity source was specified.
ACTIVITY_SOURCE_WEB = 1
Web client.
ACTIVITY_SOURCE_MOBILE = 2
Mobile client.
ACTIVITY_SOURCE_API = 3
Programmatic API client.
Implementations§
Source§impl ActivityEventSource
impl ActivityEventSource
Sourcepub const ActivitySourceUnspecified: Self = Self::ACTIVITY_SOURCE_UNSPECIFIED
pub const ActivitySourceUnspecified: Self = Self::ACTIVITY_SOURCE_UNSPECIFIED
Idiomatic alias for Self::ACTIVITY_SOURCE_UNSPECIFIED; Debug prints the variant name.
Sourcepub const ActivitySourceWeb: Self = Self::ACTIVITY_SOURCE_WEB
pub const ActivitySourceWeb: Self = Self::ACTIVITY_SOURCE_WEB
Idiomatic alias for Self::ACTIVITY_SOURCE_WEB; Debug prints the variant name.
Sourcepub const ActivitySourceMobile: Self = Self::ACTIVITY_SOURCE_MOBILE
pub const ActivitySourceMobile: Self = Self::ACTIVITY_SOURCE_MOBILE
Idiomatic alias for Self::ACTIVITY_SOURCE_MOBILE; Debug prints the variant name.
Sourcepub const ActivitySourceApi: Self = Self::ACTIVITY_SOURCE_API
pub const ActivitySourceApi: Self = Self::ACTIVITY_SOURCE_API
Idiomatic alias for Self::ACTIVITY_SOURCE_API; Debug prints the variant name.
Trait Implementations§
Source§impl Clone for ActivityEventSource
impl Clone for ActivityEventSource
Source§fn clone(&self) -> ActivityEventSource
fn clone(&self) -> ActivityEventSource
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ActivityEventSource
Source§impl Debug for ActivityEventSource
impl Debug for ActivityEventSource
Source§impl Default for ActivityEventSource
impl Default for ActivityEventSource
Source§impl<'de> Deserialize<'de> for ActivityEventSource
impl<'de> Deserialize<'de> for ActivityEventSource
Source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Enumeration for ActivityEventSource
impl Enumeration for ActivityEventSource
Source§fn proto_name(&self) -> &'static str
fn proto_name(&self) -> &'static str
The name of this enum variant as it appears in the
.proto file.impl Eq for ActivityEventSource
Source§impl Hash for ActivityEventSource
impl Hash for ActivityEventSource
Source§impl PartialEq for ActivityEventSource
impl PartialEq for ActivityEventSource
Source§impl ProtoElemJson for ActivityEventSource
impl ProtoElemJson for ActivityEventSource
Source§fn serialize_proto_json<S: Serializer>(
v: &Self,
s: S,
) -> Result<S::Ok, S::Error>
fn serialize_proto_json<S: Serializer>( v: &Self, s: S, ) -> Result<S::Ok, S::Error>
Serialize this value with proto3 JSON semantics.
Source§fn deserialize_proto_json<'de, D: Deserializer<'de>>(
d: D,
) -> Result<Self, D::Error>
fn deserialize_proto_json<'de, D: Deserializer<'de>>( d: D, ) -> Result<Self, D::Error>
Deserialize a value with proto3 JSON semantics.
Source§impl Serialize for ActivityEventSource
impl Serialize for ActivityEventSource
impl StructuralPartialEq for ActivityEventSource
Auto Trait Implementations§
impl Freeze for ActivityEventSource
impl RefUnwindSafe for ActivityEventSource
impl Send for ActivityEventSource
impl Sync for ActivityEventSource
impl Unpin for ActivityEventSource
impl UnsafeUnpin for ActivityEventSource
impl UnwindSafe for ActivityEventSource
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
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<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
Compare self to
key and return true if they are equal.