pub trait FromBorrowedStr<'a>: Sized {
    type Err;
    fn from_borrowed_str(s: &'a str) -> Result<Self, Self::Err>;
}

Associated Types

Required methods

Implementors

Allows Either<Variable, _> to implement FromBorrowedStr.

Opposite of fmt::Display. Requires the serde_json feature.

Requires the serde_json feature.

Anything that implements FromStr implements FromBorrowedStr