pub struct SystemMessagePayload {
pub text: String,
pub trigger_response: Option<bool>,
}Expand description
System message payload
Fields§
§text: StringThe message text (max 500 characters)
trigger_response: Option<bool>If true, AI responds immediately (default: true)
Trait Implementations§
Source§impl Clone for SystemMessagePayload
impl Clone for SystemMessagePayload
Source§fn clone(&self) -> SystemMessagePayload
fn clone(&self) -> SystemMessagePayload
Returns a duplicate of the value. Read more
1.0.0 · 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 SystemMessagePayload
impl Debug for SystemMessagePayload
Auto Trait Implementations§
impl Freeze for SystemMessagePayload
impl RefUnwindSafe for SystemMessagePayload
impl Send for SystemMessagePayload
impl Sync for SystemMessagePayload
impl Unpin for SystemMessagePayload
impl UnwindSafe for SystemMessagePayload
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