Struct stepflow_data::value::StringValue[][src]

pub struct StringValue { /* fields omitted */ }

Implementations

impl StringValue[src]

pub fn try_new<STR>(val: STR) -> Result<Self, InvalidValue> where
    STR: Into<Cow<'static, str>>, 
[src]

pub fn validate(val: &Cow<'static, str>) -> Result<(), InvalidValue>[src]

pub fn val(&self) -> &str[src]

pub fn boxed(self) -> Box<dyn Value>[src]

Trait Implementations

impl Clone for StringValue[src]

impl Debug for StringValue[src]

impl FromStr for StringValue[src]

type Err = InvalidValue

The associated error which can be returned from parsing.

impl PartialEq<StringValue> for StringValue[src]

impl StructuralPartialEq for StringValue[src]

impl Value for StringValue[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> AsAny for T where
    T: Any
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.