[][src]Module nanowrimo::data

Structs

BadgeData
BadgeObject

A struct representing an object of kind Badge

ChallengeData

A challenge (Nano, Camp Nano, or custom). The Optional fields will generally be populated for Nanos or Camps, but null for custom challenges. (Warning: This is only mostly, not absolutely, true)

ChallengeObject

A struct representing an object of kind Challenge

CollectionResponse

A successful response from a call to the API which returns multiple items. Is generic over the inner data type, which allows for the case of a known return type to avoid needing an unwrap. Defaults to the generic Object

DailyAggregateData
DailyAggregateObject

A struct representing an object of kind DailyAggregate

EmailSettings
ErrorData
FavoriteAuthorData
FavoriteAuthorObject

A struct representing an object of kind FavoriteAuthor

FavoriteBookData
FavoriteBookObject

A struct representing an object of kind FavoriteBook

Fundometer

Information about Nano's current funraising goals

GenreData
GenreObject

A struct representing an object of kind Genre

GroupData
GroupExternalLinkData
GroupExternalLinkObject

A struct representing an object of kind GroupExternalLink

GroupObject

A struct representing an object of kind Group

GroupUserData
GroupUserObject

A struct representing an object of kind GroupUser

ItemResponse

A successful response from a call to the API which returns a single item. Is generic over the inner data type, which allows for the case of a known return type to avoid needing an unwrap. Defaults to the generic Object

LinkData
LinkInfo
LocationData
LocationGroupData
LocationGroupObject

A struct representing an object of kind LocationGroup

LocationObject

A struct representing an object of kind Location

LoginResponse

The response from logging into the Nano API

NanoMessageData
NanoMessageObject

A struct representing an object of kind NanoMessage

NotificationData
NotificationObject

A struct representing an object of kind Notification

NotificationSettings
ObjectRef

A reference to an included Object. Declares the kind and ID of the Object, so that it can be uniquely located in the include list

PageData
PageObject

A struct representing an object of kind Page

PostData
PostInfo

The extra info provided when getting a Post/Page object

PostObject

A struct representing an object of kind Post

PrivacySettings
ProjectChallengeData
ProjectChallengeObject

A struct representing an object of kind ProjectChallenge

ProjectData
ProjectObject

A struct representing an object of kind Project

ProjectSessionData
ProjectSessionObject

A struct representing an object of kind ProjectSession

RelationInfo
RelationLink
StatsInfo
StopWatchData
StopWatchObject

A struct representing an object of kind StopWatch

StoreItem

An item from the Nano store

TimerData
TimerObject

A struct representing an object of kind Timer

UserBadgeData
UserBadgeObject

A struct representing an object of kind UserBadge

UserData
UserObject

A struct representing an object of kind User

WritingLocationData
WritingLocationObject

A struct representing an object of kind WritingLocation

WritingMethodData
WritingMethodObject

A struct representing an object of kind WritingMethod

Enums

NanoError

The response of the Nano API when a command results in an expected error

Object

A common type for all Nano API objects. Most useful when you're either not sure of an API type, or want to accept multiple types in your program. See ObjectInfo for the kind of things all these objects have in common

Traits

ObjectInfo

A trait for all types that represent an 'Object' in the Nano API. See Object for the most general form of this.