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