Enum AiMessageFormat
pub enum AiMessageFormat {
PlainText,
Markdown,
Json,
Xml,
Yaml,
Multipart,
Custom,
}Variants§
Implementations§
§impl AiMessageFormat
impl AiMessageFormat
pub const ALL: &'static [AiMessageFormat]
pub const fn as_str(self) -> &'static str
Trait Implementations§
§impl Clone for AiMessageFormat
impl Clone for AiMessageFormat
§fn clone(&self) -> AiMessageFormat
fn clone(&self) -> AiMessageFormat
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for AiMessageFormat
impl Debug for AiMessageFormat
§impl Display for AiMessageFormat
impl Display for AiMessageFormat
§impl FromStr for AiMessageFormat
impl FromStr for AiMessageFormat
§type Err = AiMessageError
type Err = AiMessageError
The associated error which can be returned from parsing.
§fn from_str(
value: &str,
) -> Result<AiMessageFormat, <AiMessageFormat as FromStr>::Err>
fn from_str( value: &str, ) -> Result<AiMessageFormat, <AiMessageFormat as FromStr>::Err>
Parses a string
s to return a value of this type. Read more§impl Hash for AiMessageFormat
impl Hash for AiMessageFormat
§impl Ord for AiMessageFormat
impl Ord for AiMessageFormat
§impl PartialEq for AiMessageFormat
impl PartialEq for AiMessageFormat
§impl PartialOrd for AiMessageFormat
impl PartialOrd for AiMessageFormat
impl Copy for AiMessageFormat
impl Eq for AiMessageFormat
impl StructuralPartialEq for AiMessageFormat
Auto Trait Implementations§
impl Freeze for AiMessageFormat
impl RefUnwindSafe for AiMessageFormat
impl Send for AiMessageFormat
impl Sync for AiMessageFormat
impl Unpin for AiMessageFormat
impl UnsafeUnpin for AiMessageFormat
impl UnwindSafe for AiMessageFormat
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