Trait chirpstack_api::as_pb::external::api::internal_service_server::InternalService[][src]

pub trait InternalService: Send + Sync + 'static {
#[must_use]    fn login<'life0, 'async_trait>(
        &'life0 self,
        request: Request<LoginRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<LoginResponse>, Status>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] fn profile<'life0, 'async_trait>(
        &'life0 self,
        request: Request<()>
    ) -> Pin<Box<dyn Future<Output = Result<Response<ProfileResponse>, Status>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] fn global_search<'life0, 'async_trait>(
        &'life0 self,
        request: Request<GlobalSearchRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<GlobalSearchResponse>, Status>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] fn create_api_key<'life0, 'async_trait>(
        &'life0 self,
        request: Request<CreateApiKeyRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<CreateApiKeyResponse>, Status>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] fn delete_api_key<'life0, 'async_trait>(
        &'life0 self,
        request: Request<DeleteApiKeyRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<()>, Status>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] fn list_api_keys<'life0, 'async_trait>(
        &'life0 self,
        request: Request<ListApiKeysRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<ListApiKeysResponse>, Status>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] fn settings<'life0, 'async_trait>(
        &'life0 self,
        request: Request<()>
    ) -> Pin<Box<dyn Future<Output = Result<Response<SettingsResponse>, Status>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] fn open_id_connect_login<'life0, 'async_trait>(
        &'life0 self,
        request: Request<OpenIdConnectLoginRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<OpenIdConnectLoginResponse>, Status>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] fn get_devices_summary<'life0, 'async_trait>(
        &'life0 self,
        request: Request<GetDevicesSummaryRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<GetDevicesSummaryResponse>, Status>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] fn get_gateways_summary<'life0, 'async_trait>(
        &'life0 self,
        request: Request<GetGatewaysSummaryRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<GetGatewaysSummaryResponse>, Status>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }

Generated trait containing gRPC methods that should be implemented for use with InternalServiceServer.

Required methods

#[must_use]fn login<'life0, 'async_trait>(
    &'life0 self,
    request: Request<LoginRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<LoginResponse>, Status>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Log in a user

#[must_use]fn profile<'life0, 'async_trait>(
    &'life0 self,
    request: Request<()>
) -> Pin<Box<dyn Future<Output = Result<Response<ProfileResponse>, Status>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Get the current user’s profile

Perform a global search.

#[must_use]fn create_api_key<'life0, 'async_trait>(
    &'life0 self,
    request: Request<CreateApiKeyRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<CreateApiKeyResponse>, Status>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

CreateAPIKey creates the given API key.

#[must_use]fn delete_api_key<'life0, 'async_trait>(
    &'life0 self,
    request: Request<DeleteApiKeyRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<()>, Status>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

DeleteAPIKey deletes the API key.

#[must_use]fn list_api_keys<'life0, 'async_trait>(
    &'life0 self,
    request: Request<ListApiKeysRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<ListApiKeysResponse>, Status>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

ListAPIKeys lists the available API keys.

#[must_use]fn settings<'life0, 'async_trait>(
    &'life0 self,
    request: Request<()>
) -> Pin<Box<dyn Future<Output = Result<Response<SettingsResponse>, Status>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Get the global settings.

#[must_use]fn open_id_connect_login<'life0, 'async_trait>(
    &'life0 self,
    request: Request<OpenIdConnectLoginRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<OpenIdConnectLoginResponse>, Status>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

OpenID Connect login.

#[must_use]fn get_devices_summary<'life0, 'async_trait>(
    &'life0 self,
    request: Request<GetDevicesSummaryRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<GetDevicesSummaryResponse>, Status>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

GetDevicesSummary returns an aggregated summary of the devices.

#[must_use]fn get_gateways_summary<'life0, 'async_trait>(
    &'life0 self,
    request: Request<GetGatewaysSummaryRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<GetGatewaysSummaryResponse>, Status>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

GetGatewaysSummary returns an aggregated summary of the gateways.

Loading content...

Implementors

Loading content...