pub enum UserInviteInput {
EmailInviteInput(EmailInviteInput),
EmailDomainInviteInput(EmailDomainInviteInput),
WalletInviteInput(WalletInviteInput),
PhoneInviteInput(PhoneInviteInput),
}Expand description
Input for adding or removing an allowlist entry. Discriminated by type.
JSON schema
{
"title": "UserInviteInput",
"description": "Input for adding or removing an allowlist entry.
Discriminated by type.",
"oneOf": [
{
"$ref": "#/components/schemas/EmailInviteInput"
},
{
"$ref": "#/components/schemas/EmailDomainInviteInput"
},
{
"$ref": "#/components/schemas/WalletInviteInput"
},
{
"$ref": "#/components/schemas/PhoneInviteInput"
}
],
"x-stainless-model": "apps.user_invite_input"
}Variants§
EmailInviteInput(EmailInviteInput)
EmailDomainInviteInput(EmailDomainInviteInput)
WalletInviteInput(WalletInviteInput)
PhoneInviteInput(PhoneInviteInput)
Trait Implementations§
Source§impl Clone for UserInviteInput
impl Clone for UserInviteInput
Source§fn clone(&self) -> UserInviteInput
fn clone(&self) -> UserInviteInput
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 moreSource§impl Debug for UserInviteInput
impl Debug for UserInviteInput
Source§impl<'de> Deserialize<'de> for UserInviteInput
impl<'de> Deserialize<'de> for UserInviteInput
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&UserInviteInput> for UserInviteInput
impl From<&UserInviteInput> for UserInviteInput
Source§fn from(value: &UserInviteInput) -> Self
fn from(value: &UserInviteInput) -> Self
Converts to this type from the input type.
Source§impl From<EmailDomainInviteInput> for UserInviteInput
impl From<EmailDomainInviteInput> for UserInviteInput
Source§fn from(value: EmailDomainInviteInput) -> Self
fn from(value: EmailDomainInviteInput) -> Self
Converts to this type from the input type.
Source§impl From<EmailInviteInput> for UserInviteInput
impl From<EmailInviteInput> for UserInviteInput
Source§fn from(value: EmailInviteInput) -> Self
fn from(value: EmailInviteInput) -> Self
Converts to this type from the input type.
Source§impl From<PhoneInviteInput> for UserInviteInput
impl From<PhoneInviteInput> for UserInviteInput
Source§fn from(value: PhoneInviteInput) -> Self
fn from(value: PhoneInviteInput) -> Self
Converts to this type from the input type.
Source§impl From<WalletInviteInput> for UserInviteInput
impl From<WalletInviteInput> for UserInviteInput
Source§fn from(value: WalletInviteInput) -> Self
fn from(value: WalletInviteInput) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for UserInviteInput
impl RefUnwindSafe for UserInviteInput
impl Send for UserInviteInput
impl Sync for UserInviteInput
impl Unpin for UserInviteInput
impl UnsafeUnpin for UserInviteInput
impl UnwindSafe for UserInviteInput
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