pub struct InputAiComposeToneSingleUse {
pub custom_prompt: String,
}Expand description
Generated from:
inputAiComposeToneSingleUse#e0c35af custom_prompt:string = InputAiComposeToneFields§
§custom_prompt: StringTrait Implementations§
Source§impl Clone for InputAiComposeToneSingleUse
impl Clone for InputAiComposeToneSingleUse
Source§fn clone(&self) -> InputAiComposeToneSingleUse
fn clone(&self) -> InputAiComposeToneSingleUse
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 InputAiComposeToneSingleUse
impl Debug for InputAiComposeToneSingleUse
Source§impl Deserializable for InputAiComposeToneSingleUse
impl Deserializable for InputAiComposeToneSingleUse
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 From<InputAiComposeToneSingleUse> for InputAiComposeTone
impl From<InputAiComposeToneSingleUse> for InputAiComposeTone
Source§fn from(x: InputAiComposeToneSingleUse) -> Self
fn from(x: InputAiComposeToneSingleUse) -> Self
Converts to this type from the input type.
Source§impl Identifiable for InputAiComposeToneSingleUse
impl Identifiable for InputAiComposeToneSingleUse
Source§const CONSTRUCTOR_ID: u32 = 0x0e0c35af
const CONSTRUCTOR_ID: u32 = 0x0e0c35af
The constructor ID as specified in the TL schema.
impl StructuralPartialEq for InputAiComposeToneSingleUse
Source§impl TryFrom<InputAiComposeTone> for InputAiComposeToneSingleUse
impl TryFrom<InputAiComposeTone> for InputAiComposeToneSingleUse
Source§type Error = InputAiComposeTone
type Error = InputAiComposeTone
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for InputAiComposeToneSingleUse
impl RefUnwindSafe for InputAiComposeToneSingleUse
impl Send for InputAiComposeToneSingleUse
impl Sync for InputAiComposeToneSingleUse
impl Unpin for InputAiComposeToneSingleUse
impl UnsafeUnpin for InputAiComposeToneSingleUse
impl UnwindSafe for InputAiComposeToneSingleUse
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