Trait chirpstack_api::as_pb::external::api::user_service_server::UserService [−][src]
pub trait UserService: Send + Sync + 'static { fn list<'life0, 'async_trait>(
&'life0 self,
request: Request<ListUserRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<ListUserResponse>, Status>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait; fn get<'life0, 'async_trait>(
&'life0 self,
request: Request<GetUserRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<GetUserResponse>, Status>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait; fn create<'life0, 'async_trait>(
&'life0 self,
request: Request<CreateUserRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<CreateUserResponse>, Status>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait; fn update<'life0, 'async_trait>(
&'life0 self,
request: Request<UpdateUserRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<()>, Status>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait; fn delete<'life0, 'async_trait>(
&'life0 self,
request: Request<DeleteUserRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<()>, Status>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait; fn update_password<'life0, 'async_trait>(
&'life0 self,
request: Request<UpdateUserPasswordRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<()>, Status>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait; }
Expand description
Generated trait containing gRPC methods that should be implemented for use with UserServiceServer.
Required methods
Get user list.
Get data for a particular user.
Create a new user.
Update an existing user.
Delete a user.