pub struct ListOrganizations;Expand description
GET /organization/list: the organizations the caller is a member of.
Trait Implementations§
Source§impl Clone for ListOrganizations
impl Clone for ListOrganizations
impl Copy for ListOrganizations
Source§impl Debug for ListOrganizations
impl Debug for ListOrganizations
Source§impl Default for ListOrganizations
impl Default for ListOrganizations
Source§impl<D: Adapter> Endpoint<D> for ListOrganizations
impl<D: Adapter> Endpoint<D> for ListOrganizations
const METHOD: Method = Method::GET
const PATH: &'static str = "/organization/list"
type Access = Authenticated
type Input = Empty
type Output = Vec<OrganizationRow>
async fn call( &self, ctx: Ctx<D, Authenticated>, _input: Empty, ) -> Result<Vec<OrganizationRow>, AuthError>
Auto Trait Implementations§
impl Forget for ListOrganizations
impl Freeze for ListOrganizations
impl Move for ListOrganizations
impl RefUnwindSafe for ListOrganizations
impl Send for ListOrganizations
impl Sync for ListOrganizations
impl Unpin for ListOrganizations
impl UnsafeUnpin for ListOrganizations
impl UnwindSafe for ListOrganizations
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