[−][src]Trait chirpstack_api::as_pb::external::api::device_profile_service_server::DeviceProfileService
Generated trait containing gRPC methods that should be implemented for use with DeviceProfileServiceServer.
Required methods
#[must_use]fn create<'life0, 'async_trait>(
&'life0 self,
request: Request<CreateDeviceProfileRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<CreateDeviceProfileResponse>, Status>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
&'life0 self,
request: Request<CreateDeviceProfileRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<CreateDeviceProfileResponse>, Status>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Create creates the given device-profile.
#[must_use]fn get<'life0, 'async_trait>(
&'life0 self,
request: Request<GetDeviceProfileRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<GetDeviceProfileResponse>, Status>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
&'life0 self,
request: Request<GetDeviceProfileRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<GetDeviceProfileResponse>, Status>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Get returns the device-profile matching the given id.
#[must_use]fn update<'life0, 'async_trait>(
&'life0 self,
request: Request<UpdateDeviceProfileRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<()>, Status>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
&'life0 self,
request: Request<UpdateDeviceProfileRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<()>, Status>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Update updates the given device-profile.
#[must_use]fn delete<'life0, 'async_trait>(
&'life0 self,
request: Request<DeleteDeviceProfileRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<()>, Status>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
&'life0 self,
request: Request<DeleteDeviceProfileRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<()>, Status>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Delete deletes the device-profile matching the given id.
#[must_use]fn list<'life0, 'async_trait>(
&'life0 self,
request: Request<ListDeviceProfileRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<ListDeviceProfileResponse>, Status>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
&'life0 self,
request: Request<ListDeviceProfileRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<ListDeviceProfileResponse>, Status>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
List lists the available device-profiles.