Module types

Module types 

Source
Expand description

Defines the public type aliases for the data structures returned by API endpoints.

These aliases provide a clear and consistent naming convention (e.g., UserResponse) for the types that consumers of this library will receive, distinguishing them from the internal model structs. This makes the library’s public API more explicit.

Type Aliases§

PartContentResponse
Represents the response data for a story part’s content. Alias for [model::PartContent].
PartReferenceResponse
Represents the response data for a lightweight story part reference. Alias for [model::PartReference].
PartResponse
Represents the response data for a full story part object. Alias for [model::Part].
PartStubResponse
Represents the response data for a lightweight story part stub. Alias for [model::PartStub].
StoryResponse
Represents the response data for a full story object. Alias for [model::Story].
TextUrlResponse
Represents the response data for a text URL object. Alias for [model::TextUrl].
UserResponse
Represents the response data for a full user object. Alias for [model::User].
UserStubResponse
Represents the response data for a lightweight user stub. Alias for [model::UserStub].