pub struct RichBlockThinking {
pub text: RichText,
}Expand description
A Thinking… placeholder for use while a bot streams an AI response.
Only valid inside sendRichMessageDraft calls.
See https://t.me/addemoji/AIActions for recommended custom emoji.
Fields§
§text: RichTextThe placeholder display text (may include custom emoji).
Trait Implementations§
Source§impl Clone for RichBlockThinking
impl Clone for RichBlockThinking
Source§fn clone(&self) -> RichBlockThinking
fn clone(&self) -> RichBlockThinking
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 RichBlockThinking
impl Debug for RichBlockThinking
Source§impl<'de> Deserialize<'de> for RichBlockThinking
impl<'de> Deserialize<'de> for RichBlockThinking
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
Auto Trait Implementations§
impl Freeze for RichBlockThinking
impl RefUnwindSafe for RichBlockThinking
impl Send for RichBlockThinking
impl Sync for RichBlockThinking
impl Unpin for RichBlockThinking
impl UnsafeUnpin for RichBlockThinking
impl UnwindSafe for RichBlockThinking
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