pub struct GetToneExample {
pub tone: InputAiComposeTone,
pub num: i32,
}Expand description
Generated from:
aicompose.getToneExample#d1b4ab14 tone:InputAiComposeTone num:int = AiComposeToneExampleFields§
§tone: InputAiComposeTone§num: i32Trait Implementations§
Source§impl Clone for GetToneExample
impl Clone for GetToneExample
Source§fn clone(&self) -> GetToneExample
fn clone(&self) -> GetToneExample
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 GetToneExample
impl Debug for GetToneExample
Source§impl Deserializable for GetToneExample
impl Deserializable for GetToneExample
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 GetToneExample
impl Identifiable for GetToneExample
Source§const CONSTRUCTOR_ID: u32 = 0xd1b4ab14
const CONSTRUCTOR_ID: u32 = 0xd1b4ab14
The constructor ID as specified in the TL schema.
Source§impl PartialEq for GetToneExample
impl PartialEq for GetToneExample
Source§fn eq(&self, other: &GetToneExample) -> bool
fn eq(&self, other: &GetToneExample) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl RemoteCall for GetToneExample
impl RemoteCall for GetToneExample
Source§type Return = AiComposeToneExample
type Return = AiComposeToneExample
The deserialized response type.
Source§impl Serializable for GetToneExample
impl Serializable for GetToneExample
impl StructuralPartialEq for GetToneExample
Auto Trait Implementations§
impl Freeze for GetToneExample
impl RefUnwindSafe for GetToneExample
impl Send for GetToneExample
impl Sync for GetToneExample
impl Unpin for GetToneExample
impl UnsafeUnpin for GetToneExample
impl UnwindSafe for GetToneExample
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