pub enum OutputValue {
Plain(String),
Text(String),
Image(Image),
Json(Value),
Html(String),
Javascript(String),
Error(String),
}
Variants§
Trait Implementations§
Source§impl Clone for OutputValue
impl Clone for OutputValue
Source§fn clone(&self) -> OutputValue
fn clone(&self) -> OutputValue
Returns a copy 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 OutputValue
impl Debug for OutputValue
Source§impl<'de> Deserialize<'de> for OutputValue
impl<'de> Deserialize<'de> for OutputValue
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 OutputValue
impl PartialEq for OutputValue
Source§impl Serialize for OutputValue
impl Serialize for OutputValue
impl StructuralPartialEq for OutputValue
Auto Trait Implementations§
impl Freeze for OutputValue
impl RefUnwindSafe for OutputValue
impl Send for OutputValue
impl Sync for OutputValue
impl Unpin for OutputValue
impl UnwindSafe for OutputValue
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