#[repr(i32)]pub enum SocialVerificationMethod {
METHOD_UNSPECIFIED = 0,
METHOD_PROFILE = 1,
METHOD_CHANNEL = 2,
METHOD_DM = 3,
}Expand description
How the user proves control of the provider account.
Variants§
METHOD_UNSPECIFIED = 0
No method was specified. The provider default is used.
METHOD_PROFILE = 1
User places the challenge code in their public provider profile.
METHOD_CHANNEL = 2
User posts the challenge code in a provider channel.
METHOD_DM = 3
User sends the challenge code in a direct message.
Implementations§
Source§impl SocialVerificationMethod
impl SocialVerificationMethod
Sourcepub const MethodUnspecified: Self = Self::METHOD_UNSPECIFIED
pub const MethodUnspecified: Self = Self::METHOD_UNSPECIFIED
Idiomatic alias for Self::METHOD_UNSPECIFIED; Debug prints the variant name.
Sourcepub const MethodProfile: Self = Self::METHOD_PROFILE
pub const MethodProfile: Self = Self::METHOD_PROFILE
Idiomatic alias for Self::METHOD_PROFILE; Debug prints the variant name.
Sourcepub const MethodChannel: Self = Self::METHOD_CHANNEL
pub const MethodChannel: Self = Self::METHOD_CHANNEL
Idiomatic alias for Self::METHOD_CHANNEL; Debug prints the variant name.
Sourcepub const MethodDm: Self = Self::METHOD_DM
pub const MethodDm: Self = Self::METHOD_DM
Idiomatic alias for Self::METHOD_DM; Debug prints the variant name.
Trait Implementations§
Source§impl Clone for SocialVerificationMethod
impl Clone for SocialVerificationMethod
Source§fn clone(&self) -> SocialVerificationMethod
fn clone(&self) -> SocialVerificationMethod
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 SocialVerificationMethod
Source§impl Debug for SocialVerificationMethod
impl Debug for SocialVerificationMethod
Source§impl Default for SocialVerificationMethod
impl Default for SocialVerificationMethod
Source§impl<'de> Deserialize<'de> for SocialVerificationMethod
impl<'de> Deserialize<'de> for SocialVerificationMethod
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 SocialVerificationMethod
impl Enumeration for SocialVerificationMethod
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 SocialVerificationMethod
Source§impl Hash for SocialVerificationMethod
impl Hash for SocialVerificationMethod
Source§impl PartialEq for SocialVerificationMethod
impl PartialEq for SocialVerificationMethod
Source§impl ProtoElemJson for SocialVerificationMethod
impl ProtoElemJson for SocialVerificationMethod
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 SocialVerificationMethod
impl Serialize for SocialVerificationMethod
impl StructuralPartialEq for SocialVerificationMethod
Auto Trait Implementations§
impl Freeze for SocialVerificationMethod
impl RefUnwindSafe for SocialVerificationMethod
impl Send for SocialVerificationMethod
impl Sync for SocialVerificationMethod
impl Unpin for SocialVerificationMethod
impl UnsafeUnpin for SocialVerificationMethod
impl UnwindSafe for SocialVerificationMethod
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.