Skip to main content

StringValue

Trait StringValue 

Source
pub trait StringValue: ValueDomain {
    // Required methods
    fn into_string(
        label: &'static str,
        value: Self::Value<'_>,
    ) -> QueryResult<String>;
    fn from_string<'a>(role: &Self::Value<'_>, value: String) -> Self::Value<'a>;
}

Required Methods§

Source

fn into_string( label: &'static str, value: Self::Value<'_>, ) -> QueryResult<String>

Source

fn from_string<'a>(role: &Self::Value<'_>, value: String) -> Self::Value<'a>

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§