from_str

Function from_str 

Source
pub fn from_str<'a>(json: &'a str) -> Result<StreamMessage<'a>>
Expand description

Alias to StreamMessage::from_str. Parses a JSON string returned from Twitter Streaming API.