pub struct CheckSlug;Expand description
POST /organization/check-slug: { "status": true } when the slug is free, else 400
ORGANIZATION_SLUG_ALREADY_TAKEN.
Trait Implementations§
impl Copy for CheckSlug
Source§impl<D: Adapter> Endpoint<D> for CheckSlug
impl<D: Adapter> Endpoint<D> for CheckSlug
const METHOD: Method = Method::POST
const PATH: &'static str = "/organization/check-slug"
type Access = Authenticated
type Input = CheckSlugInput
type Output = Status
async fn call( &self, ctx: Ctx<D, Authenticated>, input: CheckSlugInput, ) -> Result<Status, AuthError>
Auto Trait Implementations§
impl Forget for CheckSlug
impl Freeze for CheckSlug
impl Move for CheckSlug
impl RefUnwindSafe for CheckSlug
impl Send for CheckSlug
impl Sync for CheckSlug
impl Unpin for CheckSlug
impl UnsafeUnpin for CheckSlug
impl UnwindSafe for CheckSlug
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