pub struct GetActiveMember;Expand description
GET /organization/get-active-member: the caller’s membership in the active
organization, with their user.
Trait Implementations§
Source§impl Clone for GetActiveMember
impl Clone for GetActiveMember
impl Copy for GetActiveMember
Source§impl Debug for GetActiveMember
impl Debug for GetActiveMember
Source§impl Default for GetActiveMember
impl Default for GetActiveMember
Source§impl<D: Adapter> Endpoint<D> for GetActiveMember
impl<D: Adapter> Endpoint<D> for GetActiveMember
const METHOD: Method = Method::GET
const PATH: &'static str = "/organization/get-active-member"
type Access = Authenticated
type Input = Empty
type Output = MemberWithUser
async fn call( &self, ctx: Ctx<D, Authenticated>, _input: Empty, ) -> Result<MemberWithUser, AuthError>
Auto Trait Implementations§
impl Forget for GetActiveMember
impl Freeze for GetActiveMember
impl Move for GetActiveMember
impl RefUnwindSafe for GetActiveMember
impl Send for GetActiveMember
impl Sync for GetActiveMember
impl Unpin for GetActiveMember
impl UnsafeUnpin for GetActiveMember
impl UnwindSafe for GetActiveMember
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