Skip to main content

StringValueType

Trait StringValueType 

Source
pub trait StringValueType:
    Sized
    + Send
    + 'static {
    // Required methods
    fn from_db_string(value: String) -> Result<Self, Error>;
    fn into_db_string(self) -> String;
}

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl StringValueType for String

Implementors§