pub enum CustomOutput {
Text(String),
Content(Vec<InputContent>),
}Variants§
Text(String)
Content(Vec<InputContent>)
Trait Implementations§
Source§impl Clone for CustomOutput
impl Clone for CustomOutput
Source§impl Debug for CustomOutput
impl Debug for CustomOutput
Source§impl DeclaredFields for CustomOutput
impl DeclaredFields for CustomOutput
fn into_declared(self) -> Self
Source§impl<'de> Deserialize<'de> for CustomOutput
impl<'de> Deserialize<'de> for CustomOutput
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
impl Eq for CustomOutput
Source§impl PartialEq for CustomOutput
impl PartialEq for CustomOutput
Source§impl Serialize for CustomOutput
impl Serialize for CustomOutput
impl StructuralPartialEq for CustomOutput
Auto Trait Implementations§
impl Freeze for CustomOutput
impl RefUnwindSafe for CustomOutput
impl Send for CustomOutput
impl Sync for CustomOutput
impl Unpin for CustomOutput
impl UnsafeUnpin for CustomOutput
impl UnwindSafe for CustomOutput
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