Module orca::data[][src]

Reddit data structures

Structs

AuthUserData

Data structure that represents the user that is currently authorized

Comment

A struct representing a reddit comment. Does not contain all fields possible in a comment yet.

Comments

A struct that represents a stream of comments from a subreddit as they are posted. To use it simply create a for loop with this is the source. It will automatically retrieve comments as needed. The subreddit can be all to create a stream of comments from all of reddit.

Listing

A listing of Things. Has special implementations, currently just for Comments.

Post

A struct that represents a submission to reddit

UserData

Data structure that represents a user's info

Enums

Sort

Sort type of a subreddit

SortTime

Time parameter of a subreddit sort

Thread

An enum representing a thread which can either be a comment or a more object that represents a list of comments that have not yet been loaded.

User

Struct that represent's a user that could either be authorized or not

Traits

Thing

A trait representing a reddit Thing that can be deserialized from JSON