pub struct CreateUserInvite {
pub role: Option<String>,
pub email: Option<String>,
pub unknown: Unknown,
}Expand description
One invitation to create, as the request’s array carries them.
A create takes a list of these, so several people can be invited in one call and each gets its own role.
Fields§
§role: Option<String>One of INVITE_ROLES, which has no owner in it.
email: Option<String>Omit to create an invite nobody is mailed, whose inviteUrl is
then shared by hand.
unknown: UnknownEverything the description did not mention, kept so that a control plane ahead of this build still answers usefully.
Implementations§
Trait Implementations§
Source§impl Clone for CreateUserInvite
impl Clone for CreateUserInvite
Source§fn clone(&self) -> CreateUserInvite
fn clone(&self) -> CreateUserInvite
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 CreateUserInvite
impl Debug for CreateUserInvite
Source§impl<'de> Deserialize<'de> for CreateUserInvite
impl<'de> Deserialize<'de> for CreateUserInvite
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 PartialEq for CreateUserInvite
impl PartialEq for CreateUserInvite
Source§impl Serialize for CreateUserInvite
impl Serialize for CreateUserInvite
impl StructuralPartialEq for CreateUserInvite
Auto Trait Implementations§
impl Freeze for CreateUserInvite
impl RefUnwindSafe for CreateUserInvite
impl Send for CreateUserInvite
impl Sync for CreateUserInvite
impl Unpin for CreateUserInvite
impl UnsafeUnpin for CreateUserInvite
impl UnwindSafe for CreateUserInvite
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