Trait xoon_proto_gen_rust::notification::v2::notification_service_server::NotificationService
source · pub trait NotificationService: Send + Sync + 'static {
// Required methods
fn post_slack_message<'life0, 'async_trait>(
&'life0 self,
request: Request<PostSlackMessageRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<PostSlackMessageResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn reply_slack_message<'life0, 'async_trait>(
&'life0 self,
request: Request<ReplySlackMessageRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<ReplySlackMessageResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}
Expand description
Generated trait containing gRPC methods that should be implemented for use with NotificationServiceServer.
Required Methods§
sourcefn post_slack_message<'life0, 'async_trait>(
&'life0 self,
request: Request<PostSlackMessageRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<PostSlackMessageResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn post_slack_message<'life0, 'async_trait>( &'life0 self, request: Request<PostSlackMessageRequest> ) -> Pin<Box<dyn Future<Output = Result<Response<PostSlackMessageResponse>, Status>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,
Slack のチャンネルにメッセージを投稿する
sourcefn reply_slack_message<'life0, 'async_trait>(
&'life0 self,
request: Request<ReplySlackMessageRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<ReplySlackMessageResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn reply_slack_message<'life0, 'async_trait>( &'life0 self, request: Request<ReplySlackMessageRequest> ) -> Pin<Box<dyn Future<Output = Result<Response<ReplySlackMessageResponse>, Status>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,
Slack のスレッドにメッセージを投稿する