#[repr(i32)]pub enum SubaccountInviteAction {
SUBACCOUNT_INVITE_ACTION_UNSPECIFIED = 0,
SUBACCOUNT_INVITE_ACTION_ACCEPT = 1,
SUBACCOUNT_INVITE_ACTION_DECLINE = 2,
SUBACCOUNT_INVITE_ACTION_CANCEL = 3,
}Expand description
Action to take on a sub-account invitation.
Variants§
SUBACCOUNT_INVITE_ACTION_UNSPECIFIED = 0
No invitation action was specified.
SUBACCOUNT_INVITE_ACTION_ACCEPT = 1
Accept an incoming invitation as the grantee.
SUBACCOUNT_INVITE_ACTION_DECLINE = 2
Decline an incoming invitation as the grantee.
SUBACCOUNT_INVITE_ACTION_CANCEL = 3
Cancel an outgoing invitation as the inviter.
Implementations§
Source§impl SubaccountInviteAction
impl SubaccountInviteAction
Sourcepub const Unspecified: Self = Self::SUBACCOUNT_INVITE_ACTION_UNSPECIFIED
pub const Unspecified: Self = Self::SUBACCOUNT_INVITE_ACTION_UNSPECIFIED
Idiomatic alias for Self::SUBACCOUNT_INVITE_ACTION_UNSPECIFIED; Debug prints the variant name.
Sourcepub const Accept: Self = Self::SUBACCOUNT_INVITE_ACTION_ACCEPT
pub const Accept: Self = Self::SUBACCOUNT_INVITE_ACTION_ACCEPT
Idiomatic alias for Self::SUBACCOUNT_INVITE_ACTION_ACCEPT; Debug prints the variant name.
Sourcepub const Decline: Self = Self::SUBACCOUNT_INVITE_ACTION_DECLINE
pub const Decline: Self = Self::SUBACCOUNT_INVITE_ACTION_DECLINE
Idiomatic alias for Self::SUBACCOUNT_INVITE_ACTION_DECLINE; Debug prints the variant name.
Sourcepub const Cancel: Self = Self::SUBACCOUNT_INVITE_ACTION_CANCEL
pub const Cancel: Self = Self::SUBACCOUNT_INVITE_ACTION_CANCEL
Idiomatic alias for Self::SUBACCOUNT_INVITE_ACTION_CANCEL; Debug prints the variant name.
Trait Implementations§
Source§impl Clone for SubaccountInviteAction
impl Clone for SubaccountInviteAction
Source§fn clone(&self) -> SubaccountInviteAction
fn clone(&self) -> SubaccountInviteAction
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 SubaccountInviteAction
Source§impl Debug for SubaccountInviteAction
impl Debug for SubaccountInviteAction
Source§impl Default for SubaccountInviteAction
impl Default for SubaccountInviteAction
Source§impl<'de> Deserialize<'de> for SubaccountInviteAction
impl<'de> Deserialize<'de> for SubaccountInviteAction
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 SubaccountInviteAction
impl Enumeration for SubaccountInviteAction
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 SubaccountInviteAction
Source§impl Hash for SubaccountInviteAction
impl Hash for SubaccountInviteAction
Source§impl PartialEq for SubaccountInviteAction
impl PartialEq for SubaccountInviteAction
Source§impl ProtoElemJson for SubaccountInviteAction
impl ProtoElemJson for SubaccountInviteAction
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 SubaccountInviteAction
impl Serialize for SubaccountInviteAction
impl StructuralPartialEq for SubaccountInviteAction
Auto Trait Implementations§
impl Freeze for SubaccountInviteAction
impl RefUnwindSafe for SubaccountInviteAction
impl Send for SubaccountInviteAction
impl Sync for SubaccountInviteAction
impl Unpin for SubaccountInviteAction
impl UnsafeUnpin for SubaccountInviteAction
impl UnwindSafe for SubaccountInviteAction
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.