pub struct list_organizations;Expand description
GET /api/v1/organizations Une PAGE d’organisations, filtrable (SuperAdmin only).
Cette route rendait la table ENTIÈRE en ignorant per_page : 2743 lignes
sur la recette au 2026-09-17, d’où 8,2 s d’écran blanc sur /admin/acps
contre 1,9 s sur /admin/users (#943).
Elle rend désormais PageResponse, comme les huit autres routes
paginées du dépôt. La clé data ne bouge pas — les appelants qui la
lisent continuent de fonctionner — et pagination s’y ajoute, avec le
total. C’est ce total qui permet à l’appelant de savoir qu’il ne voit
qu’un fragment, au lieu de le deviner.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for list_organizations
impl RefUnwindSafe for list_organizations
impl Send for list_organizations
impl Sync for list_organizations
impl Unpin for list_organizations
impl UnsafeUnpin for list_organizations
impl UnwindSafe for list_organizations
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
§impl<T> Fake for T
impl<T> Fake for T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.