pub struct InviteMemberInput {
pub email: String,
pub role: RoleInput,
pub organization_id: Option<String>,
pub resend: bool,
}Expand description
Body of /organization/invite-member.
Fields§
§email: String§role: RoleInput§organization_id: Option<String>Defaults to the active organization.
resend: boolFor an address with a pending invitation: extend it and send the email again,
instead of answering USER_IS_ALREADY_INVITED_TO_THIS_ORGANIZATION.
Trait Implementations§
Source§impl Clone for InviteMemberInput
impl Clone for InviteMemberInput
Source§impl Debug for InviteMemberInput
impl Debug for InviteMemberInput
Source§impl<'de> Deserialize<'de> for InviteMemberInput
impl<'de> Deserialize<'de> for InviteMemberInput
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
Auto Trait Implementations§
impl Forget for InviteMemberInput
impl Freeze for InviteMemberInput
impl Move for InviteMemberInput
impl RefUnwindSafe for InviteMemberInput
impl Send for InviteMemberInput
impl Sync for InviteMemberInput
impl Unpin for InviteMemberInput
impl UnsafeUnpin for InviteMemberInput
impl UnwindSafe for InviteMemberInput
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