Expand description
§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 Aliases§
- Result
- Alias for a
Result
with the error typeserde_json::Error
.