pub enum SourceValue {
String(String),
StringArray(Vec<String>),
}Expand description
mimetype output (e.g. text/plain), represented as either an array of strings or a string.
Contents of the cell, represented as an array of lines.
The stream’s text output, represented as an array of strings.
Variants§
Trait Implementations§
Source§impl Clone for SourceValue
impl Clone for SourceValue
Source§fn clone(&self) -> SourceValue
fn clone(&self) -> SourceValue
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 SourceValue
impl Debug for SourceValue
Source§impl<'de> Deserialize<'de> for SourceValue
impl<'de> Deserialize<'de> for SourceValue
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 Display for SourceValue
impl Display for SourceValue
Source§impl PartialEq for SourceValue
impl PartialEq for SourceValue
Source§impl Serialize for SourceValue
impl Serialize for SourceValue
impl StructuralPartialEq for SourceValue
Auto Trait Implementations§
impl Freeze for SourceValue
impl RefUnwindSafe for SourceValue
impl Send for SourceValue
impl Sync for SourceValue
impl Unpin for SourceValue
impl UnsafeUnpin for SourceValue
impl UnwindSafe for SourceValue
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere
T: Display,
Source§fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
Fallible version of
ToCompactString::to_compact_string() Read moreSource§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
Converts the given value to a
CompactString. Read more