pub struct AttentionRequest {
pub session_id: String,
pub kind: String,
pub reason: String,
}Expand description
Request body for POST /api/attention — aligned with botmux parity.
Accepts both camelCase (sessionId) and snake_case (session_id).
Fields§
§session_id: String§kind: String§reason: StringTrait Implementations§
Source§impl Clone for AttentionRequest
impl Clone for AttentionRequest
Source§fn clone(&self) -> AttentionRequest
fn clone(&self) -> AttentionRequest
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 moreSource§impl Debug for AttentionRequest
impl Debug for AttentionRequest
Source§impl<'de> Deserialize<'de> for AttentionRequest
impl<'de> Deserialize<'de> for AttentionRequest
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 AttentionRequest
Source§impl PartialEq for AttentionRequest
impl PartialEq for AttentionRequest
Source§fn eq(&self, other: &AttentionRequest) -> bool
fn eq(&self, other: &AttentionRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AttentionRequest
impl Serialize for AttentionRequest
impl StructuralPartialEq for AttentionRequest
Auto Trait Implementations§
impl Freeze for AttentionRequest
impl RefUnwindSafe for AttentionRequest
impl Send for AttentionRequest
impl Sync for AttentionRequest
impl Unpin for AttentionRequest
impl UnsafeUnpin for AttentionRequest
impl UnwindSafe for AttentionRequest
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