pub struct UpdateTone {
pub tone: InputAiComposeTone,
pub display_author: Option<bool>,
pub emoji_id: Option<i64>,
pub title: Option<String>,
pub prompt: Option<String>,
}Expand description
Generated from:
aicompose.updateTone#903bcf59 flags:# tone:InputAiComposeTone display_author:flags.0?Bool emoji_id:flags.1?long title:flags.2?string prompt:flags.3?string = AiComposeToneFields§
§tone: InputAiComposeTone§emoji_id: Option<i64>§title: Option<String>§prompt: Option<String>Trait Implementations§
Source§impl Clone for UpdateTone
impl Clone for UpdateTone
Source§fn clone(&self) -> UpdateTone
fn clone(&self) -> UpdateTone
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 UpdateTone
impl Debug for UpdateTone
Source§impl Deserializable for UpdateTone
impl Deserializable for UpdateTone
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 UpdateTone
impl Identifiable for UpdateTone
Source§const CONSTRUCTOR_ID: u32 = 0x903bcf59
const CONSTRUCTOR_ID: u32 = 0x903bcf59
The constructor ID as specified in the TL schema.
Source§impl PartialEq for UpdateTone
impl PartialEq for UpdateTone
Source§fn eq(&self, other: &UpdateTone) -> bool
fn eq(&self, other: &UpdateTone) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl RemoteCall for UpdateTone
impl RemoteCall for UpdateTone
Source§type Return = AiComposeTone
type Return = AiComposeTone
The deserialized response type.
Source§impl Serializable for UpdateTone
impl Serializable for UpdateTone
impl StructuralPartialEq for UpdateTone
Auto Trait Implementations§
impl Freeze for UpdateTone
impl RefUnwindSafe for UpdateTone
impl Send for UpdateTone
impl Sync for UpdateTone
impl Unpin for UpdateTone
impl UnsafeUnpin for UpdateTone
impl UnwindSafe for UpdateTone
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