pub struct AcceptInviteFromPickerRequest {
pub token: Option<String>,
pub name: Option<String>,
}Expand description
AcceptInviteFromPickerRequest model.
Fields§
§token: Option<String>The invite secret, echoed to the picker by GET /api/v1/me/tenants. Compared in constant
time. Defence in depth rather than the primary gate — the email match is that — and it
catches the class where the listing ever shows an invite not addressed to the caller.
Invites created before secrets exist accept without one.
name: Option<String>Display name for the new member. Omitted, the local part of the invited email is used.
Trait Implementations§
Source§impl Clone for AcceptInviteFromPickerRequest
impl Clone for AcceptInviteFromPickerRequest
Source§fn clone(&self) -> AcceptInviteFromPickerRequest
fn clone(&self) -> AcceptInviteFromPickerRequest
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 Default for AcceptInviteFromPickerRequest
impl Default for AcceptInviteFromPickerRequest
Source§fn default() -> AcceptInviteFromPickerRequest
fn default() -> AcceptInviteFromPickerRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AcceptInviteFromPickerRequest
impl<'de> Deserialize<'de> for AcceptInviteFromPickerRequest
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
impl StructuralPartialEq for AcceptInviteFromPickerRequest
Auto Trait Implementations§
impl Freeze for AcceptInviteFromPickerRequest
impl RefUnwindSafe for AcceptInviteFromPickerRequest
impl Send for AcceptInviteFromPickerRequest
impl Sync for AcceptInviteFromPickerRequest
impl Unpin for AcceptInviteFromPickerRequest
impl UnsafeUnpin for AcceptInviteFromPickerRequest
impl UnwindSafe for AcceptInviteFromPickerRequest
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