pub enum InputAiComposeTone {
Default(InputAiComposeToneDefault),
Id(InputAiComposeToneId),
Slug(InputAiComposeToneSlug),
}Expand description
Variants§
Trait Implementations§
Source§impl Clone for InputAiComposeTone
impl Clone for InputAiComposeTone
Source§fn clone(&self) -> InputAiComposeTone
fn clone(&self) -> InputAiComposeTone
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 InputAiComposeTone
impl Debug for InputAiComposeTone
Source§impl Deserializable for InputAiComposeTone
impl Deserializable for InputAiComposeTone
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<InputAiComposeToneDefault> for InputAiComposeTone
impl From<InputAiComposeToneDefault> for InputAiComposeTone
Source§fn from(x: InputAiComposeToneDefault) -> Self
fn from(x: InputAiComposeToneDefault) -> Self
Converts to this type from the input type.
Source§impl From<InputAiComposeToneId> for InputAiComposeTone
impl From<InputAiComposeToneId> for InputAiComposeTone
Source§fn from(x: InputAiComposeToneId) -> Self
fn from(x: InputAiComposeToneId) -> Self
Converts to this type from the input type.
Source§impl From<InputAiComposeToneSlug> for InputAiComposeTone
impl From<InputAiComposeToneSlug> for InputAiComposeTone
Source§fn from(x: InputAiComposeToneSlug) -> Self
fn from(x: InputAiComposeToneSlug) -> Self
Converts to this type from the input type.
Source§impl PartialEq for InputAiComposeTone
impl PartialEq for InputAiComposeTone
Source§fn eq(&self, other: &InputAiComposeTone) -> bool
fn eq(&self, other: &InputAiComposeTone) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serializable for InputAiComposeTone
impl Serializable for InputAiComposeTone
Source§impl TryFrom<InputAiComposeTone> for InputAiComposeToneDefault
impl TryFrom<InputAiComposeTone> for InputAiComposeToneDefault
Source§type Error = InputAiComposeTone
type Error = InputAiComposeTone
The type returned in the event of a conversion error.
Source§impl TryFrom<InputAiComposeTone> for InputAiComposeToneId
impl TryFrom<InputAiComposeTone> for InputAiComposeToneId
Source§type Error = InputAiComposeTone
type Error = InputAiComposeTone
The type returned in the event of a conversion error.
Source§impl TryFrom<InputAiComposeTone> for InputAiComposeToneSlug
impl TryFrom<InputAiComposeTone> for InputAiComposeToneSlug
Source§type Error = InputAiComposeTone
type Error = InputAiComposeTone
The type returned in the event of a conversion error.
impl StructuralPartialEq for InputAiComposeTone
Auto Trait Implementations§
impl Freeze for InputAiComposeTone
impl RefUnwindSafe for InputAiComposeTone
impl Send for InputAiComposeTone
impl Sync for InputAiComposeTone
impl Unpin for InputAiComposeTone
impl UnsafeUnpin for InputAiComposeTone
impl UnwindSafe for InputAiComposeTone
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