pub struct Hit {
pub id: Option<String>,
pub platform: Platform,
pub channel: String,
pub user: String,
pub text: String,
pub at: i64,
}Expand description
one server-side mention-rule hit.
Fields§
§id: Option<String>the platform message id, when the rule match knew it (dedupe key).
platform: Platform§channel: String§user: String§text: String§at: i64Trait Implementations§
impl StructuralPartialEq for Hit
Auto Trait Implementations§
impl Forget for Hit
impl Freeze for Hit
impl RefUnwindSafe for Hit
impl Send for Hit
impl Sync for Hit
impl Unpin for Hit
impl UnsafeUnpin for Hit
impl UnwindSafe for Hit
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