pub enum InsertText {
String(String),
StringValue(StringValue),
}Variants§
String(String)
StringValue(StringValue)
Trait Implementations§
Source§impl Clone for InsertText
impl Clone for InsertText
Source§fn clone(&self) -> InsertText
fn clone(&self) -> InsertText
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 InsertText
impl Debug for InsertText
Source§impl<'de> Deserialize<'de> for InsertText
impl<'de> Deserialize<'de> for InsertText
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 From<&str> for InsertText
impl From<&str> for InsertText
Source§impl From<String> for InsertText
impl From<String> for InsertText
Source§impl From<StringValue> for InsertText
impl From<StringValue> for InsertText
Source§fn from(v: StringValue) -> Self
fn from(v: StringValue) -> Self
Converts to this type from the input type.
Source§impl From<char> for InsertText
impl From<char> for InsertText
Source§impl Hash for InsertText
impl Hash for InsertText
Source§impl PartialEq for InsertText
impl PartialEq for InsertText
Source§fn eq(&self, other: &InsertText) -> bool
fn eq(&self, other: &InsertText) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for InsertText
impl Serialize for InsertText
impl Eq for InsertText
impl StructuralPartialEq for InsertText
Auto Trait Implementations§
impl Freeze for InsertText
impl RefUnwindSafe for InsertText
impl Send for InsertText
impl Sync for InsertText
impl Unpin for InsertText
impl UnsafeUnpin for InsertText
impl UnwindSafe for InsertText
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