pub struct GetInvitation;Expand description
GET /organization/get-invitation?id=..: a live invitation addressed to the caller.
Trait Implementations§
Source§impl Clone for GetInvitation
impl Clone for GetInvitation
impl Copy for GetInvitation
Source§impl Debug for GetInvitation
impl Debug for GetInvitation
Source§impl Default for GetInvitation
impl Default for GetInvitation
Source§impl<D: Adapter> Endpoint<D> for GetInvitation
impl<D: Adapter> Endpoint<D> for GetInvitation
const METHOD: Method = Method::GET
const PATH: &'static str = "/organization/get-invitation"
type Access = Authenticated
type Input = InvitationIdQuery
type Output = InvitationDetails
async fn call( &self, ctx: Ctx<D, Authenticated>, input: InvitationIdQuery, ) -> Result<InvitationDetails, AuthError>
Auto Trait Implementations§
impl Forget for GetInvitation
impl Freeze for GetInvitation
impl Move for GetInvitation
impl RefUnwindSafe for GetInvitation
impl Send for GetInvitation
impl Sync for GetInvitation
impl Unpin for GetInvitation
impl UnsafeUnpin for GetInvitation
impl UnwindSafe for GetInvitation
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