Struct twitter_stream::TwitterStreamBuilder [] [src]

pub struct TwitterStreamBuilder<'a> { /* fields omitted */ }

A builder for TwitterStream.

Methods

impl<'a> TwitterStreamBuilder<'a>
[src]

Create a builder for POST statuses/filter endpoint.

See the Twitter Developer Documentation for more information.

Create a builder for GET statuses/sample endpoint.

See the Twitter Developer Documentation for more information.

Create a builder for GET user endpoint (a.k.a. User Stream).

See the Twitter Developer Documentation for more information.

Constructs a builder for a Stream at a custom end point.

Set whether to receive messages when in danger of being disconnected.

See the Twitter Developer Documentation for more information.

Set the minimum filter_level Tweet attribute to receive. The default is FilterLevel::None.

See the Twitter Developer Documentation for more information.

Set whether to receive all @replies.

See the Twitter Developer Documentation for more information.

Set a custom hyper::client::Client object to use when connecting to the Stream.

Set a user agent string to be sent when connectiong to the Stream.

Set a comma-separated language identifiers to receive Tweets written in the specified languages only.

See the Twitter Developer Documentation for more information.

Set a list of user IDs to receive Tweets only from the specified users.

See the [Twitter Developer Documentation][1] for more information. [1] https://dev.twitter.com/streaming/overview/request-parameters#follow

A comma separated list of phrases to filter Tweets by.

See the Twitter Developer Documentation for more information.

Set a list of bounding boxes to filter Tweets by, specified by a pair of coordinates in the form of ((longitude, latitude), (longitude, latitude)) tuple.

See the Twitter Developer Documentation for more information.

The count parameter. This parameter requires elevated access to use.

See the Twitter Developer Documentation for more information.

Set types of messages delivered to User and Site Streams clients.

impl<'a> TwitterStreamBuilder<'a>
[src]

Attempt to start listening on a Stream and returns a Stream object which yields parsed messages from the API.

Attempt to start listening on a Stream and returns a Stream which yields JSON messages from the API.

Trait Implementations

impl<'a> Clone for TwitterStreamBuilder<'a>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a> Debug for TwitterStreamBuilder<'a>
[src]

Formats the value using the given formatter.