#[non_exhaustive]pub enum Event {
Show 24 variants
Ping(PingPayload),
Joined(JoinedPayload),
Left(LeftPayload),
MessageCreated(MessageCreatedPayload),
MessageDeleted(MessageDeletedPayload),
MessageUpdated(MessageUpdatedPayload),
DirectMessageCreated(DirectMessageCreatedPayload),
DirectMessageDeleted(DirectMessageDeletedPayload),
DirectMessageUpdated(DirectMessageUpdatedPayload),
BotMessageStampsUpdated(BotMessageStampsUpdatedPayload),
ChannelCreated(ChannelCreatedPayload),
ChannelTopicChanged(ChannelTopicChangedPayload),
UserCreated(UserCreatedPayload),
StampCreated(StampCreatedPayload),
TagAdded(TagAddedPayload),
TagRemoved(TagRemovedPayload),
UserGroupCreated(UserGroupCreatedPayload),
UserGroupUpdated(UserGroupUpdatedPayload),
UserGroupDeleted(UserGroupDeletedPayload),
UserGroupMemberAdded(UserGroupMemberAddedPayload),
UserGroupMemberUpdated(UserGroupMemberUpdatedPayload),
UserGroupMemberRemoved(UserGroupMemberRemovedPayload),
UserGroupAdminAdded(UserGroupAdminAddedPayload),
UserGroupAdminRemoved(UserGroupAdminRemovedPayload),
}Expand description
イベント全てを網羅するenum (non-exhaustive)
§Example
use traq_bot_http::Event;
use traq_bot_http::payloads::PingPayload;
let payload = r#"{
"eventTime": "2019-05-07T04:50:48.582586882Z"
}"#;
let payload = serde_json::from_str::<PingPayload>(payload)?;
let event = Event::Ping(payload);Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Ping(PingPayload)
ボットの接続確認
Joined(JoinedPayload)
チャンネルに参加した
Left(LeftPayload)
チャンネルから退出した
MessageCreated(MessageCreatedPayload)
メッセージが作成された
MessageDeleted(MessageDeletedPayload)
メッセージが削除された
MessageUpdated(MessageUpdatedPayload)
メッセージが更新された
DirectMessageCreated(DirectMessageCreatedPayload)
ダイレクトメッセージが作成された
DirectMessageDeleted(DirectMessageDeletedPayload)
ダイレクトメッセージが削除された
DirectMessageUpdated(DirectMessageUpdatedPayload)
ダイレクトメッセージが更新された
BotMessageStampsUpdated(BotMessageStampsUpdatedPayload)
ボットのメッセージにスタンプが付けられた
ChannelCreated(ChannelCreatedPayload)
チャンネルが作成された
ChannelTopicChanged(ChannelTopicChangedPayload)
チャンネルのトピックが変更された
UserCreated(UserCreatedPayload)
ユーザーが作成された
StampCreated(StampCreatedPayload)
スタンプが作成された
TagAdded(TagAddedPayload)
BOTにタグが追加された
TagRemoved(TagRemovedPayload)
BOTからタグが削除された
UserGroupCreated(UserGroupCreatedPayload)
ユーザーグループが作成された
UserGroupUpdated(UserGroupUpdatedPayload)
ユーザーグループが更新された
UserGroupDeleted(UserGroupDeletedPayload)
ユーザーグループが削除された
UserGroupMemberAdded(UserGroupMemberAddedPayload)
ユーザーグループにメンバーが追加された
UserGroupMemberUpdated(UserGroupMemberUpdatedPayload)
ユーザーグループのメンバーが更新された
UserGroupMemberRemoved(UserGroupMemberRemovedPayload)
ユーザーグループからメンバーが削除された
UserGroupAdminAdded(UserGroupAdminAddedPayload)
ユーザーグループに管理者が追加された
UserGroupAdminRemoved(UserGroupAdminRemovedPayload)
ユーザーグループから管理者が削除された
Implementations§
Trait Implementations§
Source§impl From<BotMessageStampsUpdatedPayload> for Event
impl From<BotMessageStampsUpdatedPayload> for Event
Source§fn from(event: BotMessageStampsUpdatedPayload) -> Self
fn from(event: BotMessageStampsUpdatedPayload) -> Self
Converts to this type from the input type.
Source§impl From<ChannelCreatedPayload> for Event
impl From<ChannelCreatedPayload> for Event
Source§fn from(event: ChannelCreatedPayload) -> Self
fn from(event: ChannelCreatedPayload) -> Self
Converts to this type from the input type.
Source§impl From<ChannelTopicChangedPayload> for Event
impl From<ChannelTopicChangedPayload> for Event
Source§fn from(event: ChannelTopicChangedPayload) -> Self
fn from(event: ChannelTopicChangedPayload) -> Self
Converts to this type from the input type.
Source§impl From<DirectMessageCreatedPayload> for Event
impl From<DirectMessageCreatedPayload> for Event
Source§fn from(event: DirectMessageCreatedPayload) -> Self
fn from(event: DirectMessageCreatedPayload) -> Self
Converts to this type from the input type.
Source§impl From<DirectMessageDeletedPayload> for Event
impl From<DirectMessageDeletedPayload> for Event
Source§fn from(event: DirectMessageDeletedPayload) -> Self
fn from(event: DirectMessageDeletedPayload) -> Self
Converts to this type from the input type.
Source§impl From<DirectMessageUpdatedPayload> for Event
impl From<DirectMessageUpdatedPayload> for Event
Source§fn from(event: DirectMessageUpdatedPayload) -> Self
fn from(event: DirectMessageUpdatedPayload) -> Self
Converts to this type from the input type.
Source§impl From<JoinedPayload> for Event
impl From<JoinedPayload> for Event
Source§fn from(event: JoinedPayload) -> Self
fn from(event: JoinedPayload) -> Self
Converts to this type from the input type.
Source§impl From<LeftPayload> for Event
impl From<LeftPayload> for Event
Source§fn from(event: LeftPayload) -> Self
fn from(event: LeftPayload) -> Self
Converts to this type from the input type.
Source§impl From<MessageCreatedPayload> for Event
impl From<MessageCreatedPayload> for Event
Source§fn from(event: MessageCreatedPayload) -> Self
fn from(event: MessageCreatedPayload) -> Self
Converts to this type from the input type.
Source§impl From<MessageDeletedPayload> for Event
impl From<MessageDeletedPayload> for Event
Source§fn from(event: MessageDeletedPayload) -> Self
fn from(event: MessageDeletedPayload) -> Self
Converts to this type from the input type.
Source§impl From<MessageUpdatedPayload> for Event
impl From<MessageUpdatedPayload> for Event
Source§fn from(event: MessageUpdatedPayload) -> Self
fn from(event: MessageUpdatedPayload) -> Self
Converts to this type from the input type.
Source§impl From<PingPayload> for Event
impl From<PingPayload> for Event
Source§fn from(event: PingPayload) -> Self
fn from(event: PingPayload) -> Self
Converts to this type from the input type.
Source§impl From<StampCreatedPayload> for Event
impl From<StampCreatedPayload> for Event
Source§fn from(event: StampCreatedPayload) -> Self
fn from(event: StampCreatedPayload) -> Self
Converts to this type from the input type.
Source§impl From<TagAddedPayload> for Event
impl From<TagAddedPayload> for Event
Source§fn from(event: TagAddedPayload) -> Self
fn from(event: TagAddedPayload) -> Self
Converts to this type from the input type.
Source§impl From<TagRemovedPayload> for Event
impl From<TagRemovedPayload> for Event
Source§fn from(event: TagRemovedPayload) -> Self
fn from(event: TagRemovedPayload) -> Self
Converts to this type from the input type.
Source§impl From<UserCreatedPayload> for Event
impl From<UserCreatedPayload> for Event
Source§fn from(event: UserCreatedPayload) -> Self
fn from(event: UserCreatedPayload) -> Self
Converts to this type from the input type.
Source§impl From<UserGroupAdminAddedPayload> for Event
impl From<UserGroupAdminAddedPayload> for Event
Source§fn from(event: UserGroupAdminAddedPayload) -> Self
fn from(event: UserGroupAdminAddedPayload) -> Self
Converts to this type from the input type.
Source§impl From<UserGroupAdminRemovedPayload> for Event
impl From<UserGroupAdminRemovedPayload> for Event
Source§fn from(event: UserGroupAdminRemovedPayload) -> Self
fn from(event: UserGroupAdminRemovedPayload) -> Self
Converts to this type from the input type.
Source§impl From<UserGroupCreatedPayload> for Event
impl From<UserGroupCreatedPayload> for Event
Source§fn from(event: UserGroupCreatedPayload) -> Self
fn from(event: UserGroupCreatedPayload) -> Self
Converts to this type from the input type.
Source§impl From<UserGroupDeletedPayload> for Event
impl From<UserGroupDeletedPayload> for Event
Source§fn from(event: UserGroupDeletedPayload) -> Self
fn from(event: UserGroupDeletedPayload) -> Self
Converts to this type from the input type.
Source§impl From<UserGroupMemberAddedPayload> for Event
impl From<UserGroupMemberAddedPayload> for Event
Source§fn from(event: UserGroupMemberAddedPayload) -> Self
fn from(event: UserGroupMemberAddedPayload) -> Self
Converts to this type from the input type.
Source§impl From<UserGroupMemberRemovedPayload> for Event
impl From<UserGroupMemberRemovedPayload> for Event
Source§fn from(event: UserGroupMemberRemovedPayload) -> Self
fn from(event: UserGroupMemberRemovedPayload) -> Self
Converts to this type from the input type.
Source§impl From<UserGroupMemberUpdatedPayload> for Event
impl From<UserGroupMemberUpdatedPayload> for Event
Source§fn from(event: UserGroupMemberUpdatedPayload) -> Self
fn from(event: UserGroupMemberUpdatedPayload) -> Self
Converts to this type from the input type.
Source§impl From<UserGroupUpdatedPayload> for Event
impl From<UserGroupUpdatedPayload> for Event
Source§fn from(event: UserGroupUpdatedPayload) -> Self
fn from(event: UserGroupUpdatedPayload) -> Self
Converts to this type from the input type.
Source§impl<Service, Fallback> Service<Event> for OnBotMessageStampsUpdated<Service, Fallback, BotMessageStampsUpdatedPayload>
Available on crate feature tower only.
impl<Service, Fallback> Service<Event> for OnBotMessageStampsUpdated<Service, Fallback, BotMessageStampsUpdatedPayload>
Available on crate feature
tower only.Source§type Future = Either<WrapErrorFuture<<Service as Service<BotMessageStampsUpdatedPayload>>::Future, <Service as Service<BotMessageStampsUpdatedPayload>>::Error>, <Fallback as Service<Event>>::Future>
type Future = Either<WrapErrorFuture<<Service as Service<BotMessageStampsUpdatedPayload>>::Future, <Service as Service<BotMessageStampsUpdatedPayload>>::Error>, <Fallback as Service<Event>>::Future>
The future response value.
Source§impl<Service, Fallback> Service<Event> for OnChannelCreated<Service, Fallback, ChannelCreatedPayload>
Available on crate feature tower only.
impl<Service, Fallback> Service<Event> for OnChannelCreated<Service, Fallback, ChannelCreatedPayload>
Available on crate feature
tower only.Source§type Future = Either<WrapErrorFuture<<Service as Service<ChannelCreatedPayload>>::Future, <Service as Service<ChannelCreatedPayload>>::Error>, <Fallback as Service<Event>>::Future>
type Future = Either<WrapErrorFuture<<Service as Service<ChannelCreatedPayload>>::Future, <Service as Service<ChannelCreatedPayload>>::Error>, <Fallback as Service<Event>>::Future>
The future response value.
Source§impl<Service, Fallback> Service<Event> for OnChannelTopicChanged<Service, Fallback, ChannelTopicChangedPayload>
Available on crate feature tower only.
impl<Service, Fallback> Service<Event> for OnChannelTopicChanged<Service, Fallback, ChannelTopicChangedPayload>
Available on crate feature
tower only.Source§type Future = Either<WrapErrorFuture<<Service as Service<ChannelTopicChangedPayload>>::Future, <Service as Service<ChannelTopicChangedPayload>>::Error>, <Fallback as Service<Event>>::Future>
type Future = Either<WrapErrorFuture<<Service as Service<ChannelTopicChangedPayload>>::Future, <Service as Service<ChannelTopicChangedPayload>>::Error>, <Fallback as Service<Event>>::Future>
The future response value.
Source§impl<Service, Fallback> Service<Event> for OnDirectMessageCreated<Service, Fallback, DirectMessageCreatedPayload>
Available on crate feature tower only.
impl<Service, Fallback> Service<Event> for OnDirectMessageCreated<Service, Fallback, DirectMessageCreatedPayload>
Available on crate feature
tower only.Source§type Future = Either<WrapErrorFuture<<Service as Service<DirectMessageCreatedPayload>>::Future, <Service as Service<DirectMessageCreatedPayload>>::Error>, <Fallback as Service<Event>>::Future>
type Future = Either<WrapErrorFuture<<Service as Service<DirectMessageCreatedPayload>>::Future, <Service as Service<DirectMessageCreatedPayload>>::Error>, <Fallback as Service<Event>>::Future>
The future response value.
Source§impl<Service, Fallback> Service<Event> for OnDirectMessageDeleted<Service, Fallback, DirectMessageDeletedPayload>
Available on crate feature tower only.
impl<Service, Fallback> Service<Event> for OnDirectMessageDeleted<Service, Fallback, DirectMessageDeletedPayload>
Available on crate feature
tower only.Source§type Future = Either<WrapErrorFuture<<Service as Service<DirectMessageDeletedPayload>>::Future, <Service as Service<DirectMessageDeletedPayload>>::Error>, <Fallback as Service<Event>>::Future>
type Future = Either<WrapErrorFuture<<Service as Service<DirectMessageDeletedPayload>>::Future, <Service as Service<DirectMessageDeletedPayload>>::Error>, <Fallback as Service<Event>>::Future>
The future response value.
Source§impl<Service, Fallback> Service<Event> for OnDirectMessageUpdated<Service, Fallback, DirectMessageUpdatedPayload>
Available on crate feature tower only.
impl<Service, Fallback> Service<Event> for OnDirectMessageUpdated<Service, Fallback, DirectMessageUpdatedPayload>
Available on crate feature
tower only.Source§type Future = Either<WrapErrorFuture<<Service as Service<DirectMessageUpdatedPayload>>::Future, <Service as Service<DirectMessageUpdatedPayload>>::Error>, <Fallback as Service<Event>>::Future>
type Future = Either<WrapErrorFuture<<Service as Service<DirectMessageUpdatedPayload>>::Future, <Service as Service<DirectMessageUpdatedPayload>>::Error>, <Fallback as Service<Event>>::Future>
The future response value.
Source§impl<Service, Fallback> Service<Event> for OnJoined<Service, Fallback, JoinedPayload>
Available on crate feature tower only.
impl<Service, Fallback> Service<Event> for OnJoined<Service, Fallback, JoinedPayload>
Available on crate feature
tower only.Source§type Future = Either<WrapErrorFuture<<Service as Service<JoinedPayload>>::Future, <Service as Service<JoinedPayload>>::Error>, <Fallback as Service<Event>>::Future>
type Future = Either<WrapErrorFuture<<Service as Service<JoinedPayload>>::Future, <Service as Service<JoinedPayload>>::Error>, <Fallback as Service<Event>>::Future>
The future response value.
Source§impl<Service, Fallback> Service<Event> for OnLeft<Service, Fallback, LeftPayload>
Available on crate feature tower only.
impl<Service, Fallback> Service<Event> for OnLeft<Service, Fallback, LeftPayload>
Available on crate feature
tower only.Source§type Future = Either<WrapErrorFuture<<Service as Service<LeftPayload>>::Future, <Service as Service<LeftPayload>>::Error>, <Fallback as Service<Event>>::Future>
type Future = Either<WrapErrorFuture<<Service as Service<LeftPayload>>::Future, <Service as Service<LeftPayload>>::Error>, <Fallback as Service<Event>>::Future>
The future response value.
Source§impl<Service, Fallback> Service<Event> for OnMessageCreated<Service, Fallback, MessageCreatedPayload>
Available on crate feature tower only.
impl<Service, Fallback> Service<Event> for OnMessageCreated<Service, Fallback, MessageCreatedPayload>
Available on crate feature
tower only.Source§type Future = Either<WrapErrorFuture<<Service as Service<MessageCreatedPayload>>::Future, <Service as Service<MessageCreatedPayload>>::Error>, <Fallback as Service<Event>>::Future>
type Future = Either<WrapErrorFuture<<Service as Service<MessageCreatedPayload>>::Future, <Service as Service<MessageCreatedPayload>>::Error>, <Fallback as Service<Event>>::Future>
The future response value.
Source§impl<Service, Fallback> Service<Event> for OnMessageDeleted<Service, Fallback, MessageDeletedPayload>
Available on crate feature tower only.
impl<Service, Fallback> Service<Event> for OnMessageDeleted<Service, Fallback, MessageDeletedPayload>
Available on crate feature
tower only.Source§type Future = Either<WrapErrorFuture<<Service as Service<MessageDeletedPayload>>::Future, <Service as Service<MessageDeletedPayload>>::Error>, <Fallback as Service<Event>>::Future>
type Future = Either<WrapErrorFuture<<Service as Service<MessageDeletedPayload>>::Future, <Service as Service<MessageDeletedPayload>>::Error>, <Fallback as Service<Event>>::Future>
The future response value.
Source§impl<Service, Fallback> Service<Event> for OnMessageUpdated<Service, Fallback, MessageUpdatedPayload>
Available on crate feature tower only.
impl<Service, Fallback> Service<Event> for OnMessageUpdated<Service, Fallback, MessageUpdatedPayload>
Available on crate feature
tower only.Source§type Future = Either<WrapErrorFuture<<Service as Service<MessageUpdatedPayload>>::Future, <Service as Service<MessageUpdatedPayload>>::Error>, <Fallback as Service<Event>>::Future>
type Future = Either<WrapErrorFuture<<Service as Service<MessageUpdatedPayload>>::Future, <Service as Service<MessageUpdatedPayload>>::Error>, <Fallback as Service<Event>>::Future>
The future response value.
Source§impl<Service, Fallback> Service<Event> for OnPing<Service, Fallback, PingPayload>
Available on crate feature tower only.
impl<Service, Fallback> Service<Event> for OnPing<Service, Fallback, PingPayload>
Available on crate feature
tower only.Source§type Future = Either<WrapErrorFuture<<Service as Service<PingPayload>>::Future, <Service as Service<PingPayload>>::Error>, <Fallback as Service<Event>>::Future>
type Future = Either<WrapErrorFuture<<Service as Service<PingPayload>>::Future, <Service as Service<PingPayload>>::Error>, <Fallback as Service<Event>>::Future>
The future response value.
Source§impl<Service, Fallback> Service<Event> for OnStampCreated<Service, Fallback, StampCreatedPayload>
Available on crate feature tower only.
impl<Service, Fallback> Service<Event> for OnStampCreated<Service, Fallback, StampCreatedPayload>
Available on crate feature
tower only.Source§type Future = Either<WrapErrorFuture<<Service as Service<StampCreatedPayload>>::Future, <Service as Service<StampCreatedPayload>>::Error>, <Fallback as Service<Event>>::Future>
type Future = Either<WrapErrorFuture<<Service as Service<StampCreatedPayload>>::Future, <Service as Service<StampCreatedPayload>>::Error>, <Fallback as Service<Event>>::Future>
The future response value.
Source§impl<Service, Fallback> Service<Event> for OnTagAdded<Service, Fallback, TagAddedPayload>
Available on crate feature tower only.
impl<Service, Fallback> Service<Event> for OnTagAdded<Service, Fallback, TagAddedPayload>
Available on crate feature
tower only.Source§type Future = Either<WrapErrorFuture<<Service as Service<TagAddedPayload>>::Future, <Service as Service<TagAddedPayload>>::Error>, <Fallback as Service<Event>>::Future>
type Future = Either<WrapErrorFuture<<Service as Service<TagAddedPayload>>::Future, <Service as Service<TagAddedPayload>>::Error>, <Fallback as Service<Event>>::Future>
The future response value.
Source§impl<Service, Fallback> Service<Event> for OnTagRemoved<Service, Fallback, TagRemovedPayload>
Available on crate feature tower only.
impl<Service, Fallback> Service<Event> for OnTagRemoved<Service, Fallback, TagRemovedPayload>
Available on crate feature
tower only.Source§type Future = Either<WrapErrorFuture<<Service as Service<TagRemovedPayload>>::Future, <Service as Service<TagRemovedPayload>>::Error>, <Fallback as Service<Event>>::Future>
type Future = Either<WrapErrorFuture<<Service as Service<TagRemovedPayload>>::Future, <Service as Service<TagRemovedPayload>>::Error>, <Fallback as Service<Event>>::Future>
The future response value.
Source§impl<Service, Fallback> Service<Event> for OnUserCreated<Service, Fallback, UserCreatedPayload>
Available on crate feature tower only.
impl<Service, Fallback> Service<Event> for OnUserCreated<Service, Fallback, UserCreatedPayload>
Available on crate feature
tower only.Source§type Future = Either<WrapErrorFuture<<Service as Service<UserCreatedPayload>>::Future, <Service as Service<UserCreatedPayload>>::Error>, <Fallback as Service<Event>>::Future>
type Future = Either<WrapErrorFuture<<Service as Service<UserCreatedPayload>>::Future, <Service as Service<UserCreatedPayload>>::Error>, <Fallback as Service<Event>>::Future>
The future response value.
Source§impl<Service, Fallback> Service<Event> for OnUserGroupAdminAdded<Service, Fallback, UserGroupAdminAddedPayload>
Available on crate feature tower only.
impl<Service, Fallback> Service<Event> for OnUserGroupAdminAdded<Service, Fallback, UserGroupAdminAddedPayload>
Available on crate feature
tower only.Source§type Future = Either<WrapErrorFuture<<Service as Service<UserGroupAdminAddedPayload>>::Future, <Service as Service<UserGroupAdminAddedPayload>>::Error>, <Fallback as Service<Event>>::Future>
type Future = Either<WrapErrorFuture<<Service as Service<UserGroupAdminAddedPayload>>::Future, <Service as Service<UserGroupAdminAddedPayload>>::Error>, <Fallback as Service<Event>>::Future>
The future response value.
Source§impl<Service, Fallback> Service<Event> for OnUserGroupAdminRemoved<Service, Fallback, UserGroupAdminRemovedPayload>
Available on crate feature tower only.
impl<Service, Fallback> Service<Event> for OnUserGroupAdminRemoved<Service, Fallback, UserGroupAdminRemovedPayload>
Available on crate feature
tower only.Source§type Future = Either<WrapErrorFuture<<Service as Service<UserGroupAdminRemovedPayload>>::Future, <Service as Service<UserGroupAdminRemovedPayload>>::Error>, <Fallback as Service<Event>>::Future>
type Future = Either<WrapErrorFuture<<Service as Service<UserGroupAdminRemovedPayload>>::Future, <Service as Service<UserGroupAdminRemovedPayload>>::Error>, <Fallback as Service<Event>>::Future>
The future response value.
Source§impl<Service, Fallback> Service<Event> for OnUserGroupCreated<Service, Fallback, UserGroupCreatedPayload>
Available on crate feature tower only.
impl<Service, Fallback> Service<Event> for OnUserGroupCreated<Service, Fallback, UserGroupCreatedPayload>
Available on crate feature
tower only.Source§type Future = Either<WrapErrorFuture<<Service as Service<UserGroupCreatedPayload>>::Future, <Service as Service<UserGroupCreatedPayload>>::Error>, <Fallback as Service<Event>>::Future>
type Future = Either<WrapErrorFuture<<Service as Service<UserGroupCreatedPayload>>::Future, <Service as Service<UserGroupCreatedPayload>>::Error>, <Fallback as Service<Event>>::Future>
The future response value.
Source§impl<Service, Fallback> Service<Event> for OnUserGroupDeleted<Service, Fallback, UserGroupDeletedPayload>
Available on crate feature tower only.
impl<Service, Fallback> Service<Event> for OnUserGroupDeleted<Service, Fallback, UserGroupDeletedPayload>
Available on crate feature
tower only.Source§type Future = Either<WrapErrorFuture<<Service as Service<UserGroupDeletedPayload>>::Future, <Service as Service<UserGroupDeletedPayload>>::Error>, <Fallback as Service<Event>>::Future>
type Future = Either<WrapErrorFuture<<Service as Service<UserGroupDeletedPayload>>::Future, <Service as Service<UserGroupDeletedPayload>>::Error>, <Fallback as Service<Event>>::Future>
The future response value.
Source§impl<Service, Fallback> Service<Event> for OnUserGroupMemberAdded<Service, Fallback, UserGroupMemberAddedPayload>
Available on crate feature tower only.
impl<Service, Fallback> Service<Event> for OnUserGroupMemberAdded<Service, Fallback, UserGroupMemberAddedPayload>
Available on crate feature
tower only.Source§type Future = Either<WrapErrorFuture<<Service as Service<UserGroupMemberAddedPayload>>::Future, <Service as Service<UserGroupMemberAddedPayload>>::Error>, <Fallback as Service<Event>>::Future>
type Future = Either<WrapErrorFuture<<Service as Service<UserGroupMemberAddedPayload>>::Future, <Service as Service<UserGroupMemberAddedPayload>>::Error>, <Fallback as Service<Event>>::Future>
The future response value.
Source§impl<Service, Fallback> Service<Event> for OnUserGroupMemberRemoved<Service, Fallback, UserGroupMemberRemovedPayload>
Available on crate feature tower only.
impl<Service, Fallback> Service<Event> for OnUserGroupMemberRemoved<Service, Fallback, UserGroupMemberRemovedPayload>
Available on crate feature
tower only.Source§type Future = Either<WrapErrorFuture<<Service as Service<UserGroupMemberRemovedPayload>>::Future, <Service as Service<UserGroupMemberRemovedPayload>>::Error>, <Fallback as Service<Event>>::Future>
type Future = Either<WrapErrorFuture<<Service as Service<UserGroupMemberRemovedPayload>>::Future, <Service as Service<UserGroupMemberRemovedPayload>>::Error>, <Fallback as Service<Event>>::Future>
The future response value.
Source§impl<Service, Fallback> Service<Event> for OnUserGroupMemberUpdated<Service, Fallback, UserGroupMemberUpdatedPayload>
Available on crate feature tower only.
impl<Service, Fallback> Service<Event> for OnUserGroupMemberUpdated<Service, Fallback, UserGroupMemberUpdatedPayload>
Available on crate feature
tower only.Source§type Future = Either<WrapErrorFuture<<Service as Service<UserGroupMemberUpdatedPayload>>::Future, <Service as Service<UserGroupMemberUpdatedPayload>>::Error>, <Fallback as Service<Event>>::Future>
type Future = Either<WrapErrorFuture<<Service as Service<UserGroupMemberUpdatedPayload>>::Future, <Service as Service<UserGroupMemberUpdatedPayload>>::Error>, <Fallback as Service<Event>>::Future>
The future response value.
Source§impl<Service, Fallback> Service<Event> for OnUserGroupUpdated<Service, Fallback, UserGroupUpdatedPayload>
Available on crate feature tower only.
impl<Service, Fallback> Service<Event> for OnUserGroupUpdated<Service, Fallback, UserGroupUpdatedPayload>
Available on crate feature
tower only.Source§type Future = Either<WrapErrorFuture<<Service as Service<UserGroupUpdatedPayload>>::Future, <Service as Service<UserGroupUpdatedPayload>>::Error>, <Fallback as Service<Event>>::Future>
type Future = Either<WrapErrorFuture<<Service as Service<UserGroupUpdatedPayload>>::Future, <Service as Service<UserGroupUpdatedPayload>>::Error>, <Fallback as Service<Event>>::Future>
The future response value.
Source§impl<State, Srv> Service<Event> for WithState<State, Srv>
Available on crate feature tower only.
impl<State, Srv> Service<Event> for WithState<State, Srv>
Available on crate feature
tower only.impl Eq for Event
impl StructuralPartialEq for Event
Auto Trait Implementations§
impl Freeze for Event
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnwindSafe for Event
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more