pub struct AcceptInvitation;Expand description
POST /organization/accept-invitation: the invitee joins with the invited role, and the
organization becomes the session’s active one.
Trait Implementations§
Source§impl Clone for AcceptInvitation
impl Clone for AcceptInvitation
impl Copy for AcceptInvitation
Source§impl Debug for AcceptInvitation
impl Debug for AcceptInvitation
Source§impl Default for AcceptInvitation
impl Default for AcceptInvitation
Source§impl<D: Adapter> Endpoint<D> for AcceptInvitation
impl<D: Adapter> Endpoint<D> for AcceptInvitation
const METHOD: Method = Method::POST
const PATH: &'static str = "/organization/accept-invitation"
type Access = Authenticated
type Input = InvitationIdInput
type Output = InvitationResponse
async fn call( &self, ctx: Ctx<D, Authenticated>, input: InvitationIdInput, ) -> Result<InvitationResponse, AuthError>
Auto Trait Implementations§
impl Forget for AcceptInvitation
impl Freeze for AcceptInvitation
impl Move for AcceptInvitation
impl RefUnwindSafe for AcceptInvitation
impl Send for AcceptInvitation
impl Sync for AcceptInvitation
impl Unpin for AcceptInvitation
impl UnsafeUnpin for AcceptInvitation
impl UnwindSafe for AcceptInvitation
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