pub enum StringStrategy {
Conservative,
AlwaysOwned,
ZeroCopy,
}Variants§
Trait Implementations§
Source§impl Clone for StringStrategy
impl Clone for StringStrategy
Source§fn clone(&self) -> StringStrategy
fn clone(&self) -> StringStrategy
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 StringStrategy
impl Debug for StringStrategy
Source§impl<'de> Deserialize<'de> for StringStrategy
impl<'de> Deserialize<'de> for StringStrategy
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 StringStrategy
impl PartialEq for StringStrategy
Source§impl Serialize for StringStrategy
impl Serialize for StringStrategy
impl Eq for StringStrategy
impl StructuralPartialEq for StringStrategy
Auto Trait Implementations§
impl Freeze for StringStrategy
impl RefUnwindSafe for StringStrategy
impl Send for StringStrategy
impl Sync for StringStrategy
impl Unpin for StringStrategy
impl UnwindSafe for StringStrategy
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