pub struct DeleteOrganization;Expand description
POST /organization/delete: needs organization: [delete]. Deletes the organization
with its members and invitations, and clears it as any session’s active organization.
Answers the deleted organization.
Trait Implementations§
Source§impl Clone for DeleteOrganization
impl Clone for DeleteOrganization
impl Copy for DeleteOrganization
Source§impl Debug for DeleteOrganization
impl Debug for DeleteOrganization
Source§impl Default for DeleteOrganization
impl Default for DeleteOrganization
Source§impl<D: Adapter> Endpoint<D> for DeleteOrganization
impl<D: Adapter> Endpoint<D> for DeleteOrganization
const METHOD: Method = Method::POST
const PATH: &'static str = "/organization/delete"
type Access = Authenticated
type Input = DeleteOrganizationInput
type Output = OrganizationRow
async fn call( &self, ctx: Ctx<D, Authenticated>, input: DeleteOrganizationInput, ) -> Result<OrganizationRow, AuthError>
Auto Trait Implementations§
impl Forget for DeleteOrganization
impl Freeze for DeleteOrganization
impl Move for DeleteOrganization
impl RefUnwindSafe for DeleteOrganization
impl Send for DeleteOrganization
impl Sync for DeleteOrganization
impl Unpin for DeleteOrganization
impl UnsafeUnpin for DeleteOrganization
impl UnwindSafe for DeleteOrganization
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