pub struct GetFullOrganization;Expand description
GET /organization/get-full-organization: the requested organization (by id or slug,
else the active one) with members and invitations. null when there is no active
organization.
Trait Implementations§
Source§impl Clone for GetFullOrganization
impl Clone for GetFullOrganization
impl Copy for GetFullOrganization
Source§impl Debug for GetFullOrganization
impl Debug for GetFullOrganization
Source§impl Default for GetFullOrganization
impl Default for GetFullOrganization
Source§impl<D: Adapter> Endpoint<D> for GetFullOrganization
impl<D: Adapter> Endpoint<D> for GetFullOrganization
const METHOD: Method = Method::GET
const PATH: &'static str = "/organization/get-full-organization"
type Access = Authenticated
type Input = GetFullOrganizationQuery
type Output = Option<FullOrganization>
async fn call( &self, ctx: Ctx<D, Authenticated>, input: GetFullOrganizationQuery, ) -> Result<Option<FullOrganization>, AuthError>
Auto Trait Implementations§
impl Forget for GetFullOrganization
impl Freeze for GetFullOrganization
impl Move for GetFullOrganization
impl RefUnwindSafe for GetFullOrganization
impl Send for GetFullOrganization
impl Sync for GetFullOrganization
impl Unpin for GetFullOrganization
impl UnsafeUnpin for GetFullOrganization
impl UnwindSafe for GetFullOrganization
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