pub fn from_text<'de, T>(text: &'de str) -> Result<T>where
T: Deserialize<'de>,
Expand description
Deserialize a T
from text
, which must contain a Preserves text
syntax term corresponding to the Serde serialization of a T
.
pub fn from_text<'de, T>(text: &'de str) -> Result<T>where
T: Deserialize<'de>,
Deserialize a T
from text
, which must contain a Preserves text
syntax term corresponding to the Serde serialization of a T
.