pub struct EmailInviteInput {
pub type_: EmailInviteInputType,
pub value: String,
}Expand description
Allowlist invite input for an email address.
JSON schema
{
"title": "EmailInviteInput",
"description": "Allowlist invite input for an email address.",
"type": "object",
"required": [
"type",
"value"
],
"properties": {
"type": {
"type": "string",
"enum": [
"email"
]
},
"value": {
"type": "string",
"format": "email"
}
},
"x-stainless-model": "apps.email_invite_input"
}Fields§
§type_: EmailInviteInputType§value: StringTrait Implementations§
Source§impl Clone for EmailInviteInput
impl Clone for EmailInviteInput
Source§fn clone(&self) -> EmailInviteInput
fn clone(&self) -> EmailInviteInput
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 EmailInviteInput
impl Debug for EmailInviteInput
Source§impl<'de> Deserialize<'de> for EmailInviteInput
impl<'de> Deserialize<'de> for EmailInviteInput
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<&EmailInviteInput> for EmailInviteInput
impl From<&EmailInviteInput> for EmailInviteInput
Source§fn from(value: &EmailInviteInput) -> Self
fn from(value: &EmailInviteInput) -> 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.
Auto Trait Implementations§
impl Freeze for EmailInviteInput
impl RefUnwindSafe for EmailInviteInput
impl Send for EmailInviteInput
impl Sync for EmailInviteInput
impl Unpin for EmailInviteInput
impl UnsafeUnpin for EmailInviteInput
impl UnwindSafe for EmailInviteInput
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