pub enum MessageAttention {
Addressed,
Unaddressed,
Unknown,
}Expand description
Whether a provider could determine that a message explicitly targets the bot.
Shared-conversation policy drops Unaddressed messages. Unknown remains
admissible for providers that cannot expose an equivalent signal.
Variants§
Trait Implementations§
Source§impl Clone for MessageAttention
impl Clone for MessageAttention
Source§fn clone(&self) -> MessageAttention
fn clone(&self) -> MessageAttention
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MessageAttention
Source§impl Debug for MessageAttention
impl Debug for MessageAttention
Source§impl<'de> Deserialize<'de> for MessageAttention
impl<'de> Deserialize<'de> for MessageAttention
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
impl Eq for MessageAttention
Source§impl Hash for MessageAttention
impl Hash for MessageAttention
Source§impl PartialEq for MessageAttention
impl PartialEq for MessageAttention
Source§impl Serialize for MessageAttention
impl Serialize for MessageAttention
impl StructuralPartialEq for MessageAttention
Auto Trait Implementations§
impl Freeze for MessageAttention
impl RefUnwindSafe for MessageAttention
impl Send for MessageAttention
impl Sync for MessageAttention
impl Unpin for MessageAttention
impl UnsafeUnpin for MessageAttention
impl UnwindSafe for MessageAttention
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