pub enum TextFormatOutput {
Text,
JsonObject,
JsonSchema {
name: String,
description: String,
schema: Value,
strict: bool,
},
}Variants§
Trait Implementations§
Source§impl Clone for TextFormatOutput
impl Clone for TextFormatOutput
Source§fn clone(&self) -> TextFormatOutput
fn clone(&self) -> TextFormatOutput
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 moreSource§impl Debug for TextFormatOutput
impl Debug for TextFormatOutput
Source§impl<'de> Deserialize<'de> for TextFormatOutput
impl<'de> Deserialize<'de> for TextFormatOutput
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for TextFormatOutput
impl PartialEq for TextFormatOutput
Source§impl Serialize for TextFormatOutput
impl Serialize for TextFormatOutput
impl StructuralPartialEq for TextFormatOutput
Auto Trait Implementations§
impl Freeze for TextFormatOutput
impl RefUnwindSafe for TextFormatOutput
impl Send for TextFormatOutput
impl Sync for TextFormatOutput
impl Unpin for TextFormatOutput
impl UnwindSafe for TextFormatOutput
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