pub struct ComposeMessageWithAi {
pub proofread: bool,
pub emojify: bool,
pub text: TextWithEntities,
pub translate_to_lang: Option<String>,
pub change_tone: Option<String>,
}Expand description
Generated from:
messages.composeMessageWithAI#fd426afe flags:# proofread:flags.0?true emojify:flags.3?true text:TextWithEntities translate_to_lang:flags.1?string change_tone:flags.2?string = messages.ComposedMessageWithAIFields§
§proofread: bool§emojify: bool§text: TextWithEntities§translate_to_lang: Option<String>§change_tone: Option<String>Trait Implementations§
Source§impl Clone for ComposeMessageWithAi
impl Clone for ComposeMessageWithAi
Source§fn clone(&self) -> ComposeMessageWithAi
fn clone(&self) -> ComposeMessageWithAi
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 ComposeMessageWithAi
impl Debug for ComposeMessageWithAi
Source§impl Deserializable for ComposeMessageWithAi
impl Deserializable for ComposeMessageWithAi
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl Identifiable for ComposeMessageWithAi
impl Identifiable for ComposeMessageWithAi
Source§const CONSTRUCTOR_ID: u32 = 0xfd426afe
const CONSTRUCTOR_ID: u32 = 0xfd426afe
The constructor ID as specified in the TL schema.
Source§impl PartialEq for ComposeMessageWithAi
impl PartialEq for ComposeMessageWithAi
Source§impl RemoteCall for ComposeMessageWithAi
impl RemoteCall for ComposeMessageWithAi
Source§type Return = ComposedMessageWithAi
type Return = ComposedMessageWithAi
The deserialized response type.
Source§impl Serializable for ComposeMessageWithAi
impl Serializable for ComposeMessageWithAi
impl StructuralPartialEq for ComposeMessageWithAi
Auto Trait Implementations§
impl Freeze for ComposeMessageWithAi
impl RefUnwindSafe for ComposeMessageWithAi
impl Send for ComposeMessageWithAi
impl Sync for ComposeMessageWithAi
impl Unpin for ComposeMessageWithAi
impl UnsafeUnpin for ComposeMessageWithAi
impl UnwindSafe for ComposeMessageWithAi
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