pub enum ReplyResponse {
Ai,
Canned {
text: String,
},
}Expand description
What to send when an inbound message arrives.
Variants§
Ai
Use the single small-business core persona via Workers AI.
Canned
Send this static text verbatim. Costs 1 reply credit.
Trait Implementations§
Source§impl Clone for ReplyResponse
impl Clone for ReplyResponse
Source§fn clone(&self) -> ReplyResponse
fn clone(&self) -> ReplyResponse
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 ReplyResponse
impl Debug for ReplyResponse
Source§impl<'de> Deserialize<'de> for ReplyResponse
impl<'de> Deserialize<'de> for ReplyResponse
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 ReplyResponse
Source§impl PartialEq for ReplyResponse
impl PartialEq for ReplyResponse
Source§fn eq(&self, other: &ReplyResponse) -> bool
fn eq(&self, other: &ReplyResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ReplyResponse
impl Serialize for ReplyResponse
impl StructuralPartialEq for ReplyResponse
Auto Trait Implementations§
impl Freeze for ReplyResponse
impl RefUnwindSafe for ReplyResponse
impl Send for ReplyResponse
impl Sync for ReplyResponse
impl Unpin for ReplyResponse
impl UnsafeUnpin for ReplyResponse
impl UnwindSafe for ReplyResponse
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