@@ -305,7 +305,7 @@ pub struct RealmGroupsWithGroupIdRoleMappingsClientsWithClientIdCompositeGetArgs
305305 pub brief_representation : Option < bool > ,
306306}
307307
308- impl < ' a , TS : KeycloakTokenSupplier > KeycloakRealmAdminMethod
308+ impl < ' a , TS : KeycloakTokenSupplier + Send + Sync > KeycloakRealmAdminMethod
309309 for RealmGroupsWithGroupIdRoleMappingsClientsWithClientIdCompositeGet < ' a , TS >
310310{
311311 type Output = TypeVec < RoleRepresentation > ;
@@ -331,10 +331,10 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdminMethod
331331impl < ' a , TS > IntoFuture
332332 for RealmGroupsWithGroupIdRoleMappingsClientsWithClientIdCompositeGet < ' a , TS >
333333where
334- TS : KeycloakTokenSupplier ,
334+ TS : KeycloakTokenSupplier + Send + Sync ,
335335{
336336 type Output = Result < TypeVec < RoleRepresentation > , KeycloakError > ;
337- type IntoFuture = Pin < Box < dyn ' a + Future < Output = Self :: Output > > > ;
337+ type IntoFuture = Pin < Box < dyn ' a + Future < Output = Self :: Output > + Send > > ;
338338 fn into_future ( self ) -> Self :: IntoFuture {
339339 Box :: pin ( self . opts ( Default :: default ( ) ) )
340340 }
@@ -357,7 +357,7 @@ pub struct RealmUsersWithUserIdRoleMappingsClientsWithClientIdCompositeGetArgs {
357357 pub brief_representation : Option < bool > ,
358358}
359359
360- impl < ' a , TS : KeycloakTokenSupplier > KeycloakRealmAdminMethod
360+ impl < ' a , TS : KeycloakTokenSupplier + Send + Sync > KeycloakRealmAdminMethod
361361 for RealmUsersWithUserIdRoleMappingsClientsWithClientIdCompositeGet < ' a , TS >
362362{
363363 type Output = TypeVec < RoleRepresentation > ;
@@ -382,10 +382,10 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdminMethod
382382
383383impl < ' a , TS > IntoFuture for RealmUsersWithUserIdRoleMappingsClientsWithClientIdCompositeGet < ' a , TS >
384384where
385- TS : KeycloakTokenSupplier ,
385+ TS : KeycloakTokenSupplier + Send + Sync ,
386386{
387387 type Output = Result < TypeVec < RoleRepresentation > , KeycloakError > ;
388- type IntoFuture = Pin < Box < dyn ' a + Future < Output = Self :: Output > > > ;
388+ type IntoFuture = Pin < Box < dyn ' a + Future < Output = Self :: Output > + Send > > ;
389389 fn into_future ( self ) -> Self :: IntoFuture {
390390 Box :: pin ( self . opts ( Default :: default ( ) ) )
391391 }
@@ -400,7 +400,7 @@ mod builder {
400400 // <h4>Client Role Mappings</h4>
401401 impl < ' a , TS > RealmGroupsWithGroupIdRoleMappingsClientsWithClientIdCompositeGet < ' a , TS >
402402 where
403- TS : KeycloakTokenSupplier ,
403+ TS : KeycloakTokenSupplier + Send + Sync ,
404404 {
405405 /// if false, return roles with their attributes
406406 pub fn brief_representation ( self , value : impl Into < Option < bool > > ) -> Builder < ' a , Self > {
@@ -410,7 +410,7 @@ mod builder {
410410
411411 impl < TS > Builder < ' _ , RealmGroupsWithGroupIdRoleMappingsClientsWithClientIdCompositeGet < ' _ , TS > >
412412 where
413- TS : KeycloakTokenSupplier ,
413+ TS : KeycloakTokenSupplier + Send + Sync ,
414414 {
415415 /// if false, return roles with their attributes
416416 pub fn brief_representation ( mut self , value : impl Into < Option < bool > > ) -> Self {
@@ -421,7 +421,7 @@ mod builder {
421421
422422 impl < ' a , TS > RealmUsersWithUserIdRoleMappingsClientsWithClientIdCompositeGet < ' a , TS >
423423 where
424- TS : KeycloakTokenSupplier ,
424+ TS : KeycloakTokenSupplier + Send + Sync ,
425425 {
426426 /// if false, return roles with their attributes
427427 pub fn brief_representation ( self , value : impl Into < Option < bool > > ) -> Builder < ' a , Self > {
@@ -431,7 +431,7 @@ mod builder {
431431
432432 impl < TS > Builder < ' _ , RealmUsersWithUserIdRoleMappingsClientsWithClientIdCompositeGet < ' _ , TS > >
433433 where
434- TS : KeycloakTokenSupplier ,
434+ TS : KeycloakTokenSupplier + Send + Sync ,
435435 {
436436 /// if false, return roles with their attributes
437437 pub fn brief_representation ( mut self , value : impl Into < Option < bool > > ) -> Self {
0 commit comments