pub struct BotSubscription {
pub bot_id: String,
pub binding: HookBinding<BotAction>,
pub enabled: bool,
}Expand description
User-authored reporting consumer of the same typed hook stream.
Fields§
§bot_id: StringOwning Bot.
binding: HookBinding<BotAction>Exact trigger and its saved action.
enabled: boolWhether future matching facts should report.
Trait Implementations§
Source§impl Clone for BotSubscription
impl Clone for BotSubscription
Source§impl Debug for BotSubscription
impl Debug for BotSubscription
Source§impl<'de> Deserialize<'de> for BotSubscription
impl<'de> Deserialize<'de> for BotSubscription
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for BotSubscription
impl PartialEq for BotSubscription
Source§impl Serialize for BotSubscription
impl Serialize for BotSubscription
impl StructuralPartialEq for BotSubscription
Auto Trait Implementations§
impl Freeze for BotSubscription
impl RefUnwindSafe for BotSubscription
impl Send for BotSubscription
impl Sync for BotSubscription
impl Unpin for BotSubscription
impl UnsafeUnpin for BotSubscription
impl UnwindSafe for BotSubscription
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