Crate twitter_stream_message [] [src]

Twitter Stream Message

A library for parsing JSON messages returned by Twitter Streaming API.

Re-exports

pub use direct_message::DirectMessage;
pub use entities::Entities;
pub use geometry::Geometry;
pub use list::List;
pub use message::StreamMessage;
pub use place::Place;
pub use tweet::Tweet;
pub use user::User;

Modules

direct_message

Direct messages

entities

Entities

geometry

Geometry object

list

Lists

message

Messages from Streaming API.

place

Place

tweet

Tweets

types

Common types used across the crate.

user

Users

Structs

Error

This type represents all possible errors that can occur when serializing or deserializing JSON data.

Functions

from_str

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

Type Definitions

Result

Alias for a Result with the error type serde_json::Error.