Structures

The following structures are available globally.

  • Structure to store information when creating an account

    See more

    Declaration

    Swift

    public struct MDAccountInfo : Encodable
  • Structure representing an aggregation of volumes and chapters returned by MangaDex

    See more

    Declaration

    Swift

    public struct MDAggregate : Decodable
  • Structure representing a volume and its chapters returned by MangaDex

    See more

    Declaration

    Swift

    public struct MDAggregatedVolume : Decodable
  • Structure representing a volume and its chapters returned by MangaDex

    See more

    Declaration

    Swift

    public struct MDAggregatedChapter : Decodable
  • Structure representing an MD@Home node

    See more

    Declaration

    Swift

    public struct MDAtHomeNode : Decodable
  • Structure representing a report which must be sent after loading an image using the API

    See more

    Declaration

    Swift

    public struct MDAtHomeReport : Encodable
  • Structure to store credentials when attempting to login

    See more

    Declaration

    Swift

    public struct MDAuthCredentials : Encodable
  • Structure representing the result of a /auth/check request returned by the MangaDex API

    See more

    Declaration

    Swift

    public struct MDAuthInfo : Decodable
  • Structure representing an author returned by MangaDex This is passed in the data property of an MDObject

    See more

    Declaration

    Swift

    public struct MDAuthor
    extension MDAuthor: Decodable
    extension MDAuthor: Encodable
  • Structure representing a manga chapter returned by MangaDex This is passed in the data property of an MDObject

    See more

    Declaration

    Swift

    public struct MDChapter
    extension MDChapter: Decodable
    extension MDChapter: Encodable
  • Structure representing a cover returned by MangaDex This is passed in the data property of an MDObject

    See more

    Declaration

    Swift

    public struct MDCover
    extension MDCover: Decodable
    extension MDCover: Encodable
  • Structure representing a custom list returned by MangaDex This is passed in the data property of an MDObject

    See more

    Declaration

    Swift

    public struct MDCustomList
    extension MDCustomList: Decodable
    extension MDCustomList: Encodable
  • Structure representing an error returned by the MangaDex API

    See more

    Declaration

    Swift

    public struct MDError : Decodable
  • Structure representing external links that MangaDex provides

    See more

    Declaration

    Swift

    public struct MDExternalLink
  • Structure representing a group returned by MangaDex This is passed in the data property of an MDObject

    See more

    Declaration

    Swift

    public struct MDGroup
    extension MDGroup: Decodable
    extension MDGroup: Encodable
  • Structure representing a string in a given language returned by MangaDex

    See more

    Declaration

    Swift

    public struct MDLocalizedString
    extension MDLocalizedString: Decodable
    extension MDLocalizedString: Encodable
  • Structure representing a manga returned by MangaDex This is passed in the data property of an MDObject

    See more

    Declaration

    Swift

    public struct MDManga
    extension MDManga: Decodable
    extension MDManga: Encodable
  • Structure representing a mapping between a legacy ID and a new ID This is passed in the data property of an MDObject

    See more

    Declaration

    Swift

    public struct MDMapping : Decodable
  • Structure representing a query for the API to convert legacy IDs into new IDs

    See more

    Declaration

    Swift

    public struct MDMappingQuery : Encodable
  • Structure representing an object returned by the MangaDex API

    See more

    Declaration

    Swift

    public struct MDObject<T> : Decodable where T : Decodable
  • Structure representing a result with a list of chapters read by the logged-in user

    See more

    Declaration

    Swift

    public struct MDReadMarkers : Decodable
  • Structure representing a result with a list of manga reading statuses for the logged-in user

    See more

    Declaration

    Swift

    public struct MDReadingStatuses : Decodable
  • Structure representing an relationship info returned by the MangaDex API

    See more

    Declaration

    Swift

    public struct MDRelationship : Decodable
  • Structure representing a result returned by the MangaDex API

    See more

    Declaration

    Swift

    public struct MDResult<T> : Decodable where T : Decodable
  • Structure representing a list of results returned by the MangaDex API

    See more

    Declaration

    Swift

    public struct MDResultList<T> : Decodable where T : Decodable
  • Structure representing a tag returned by MangaDex This is passed in the data property of an MDObject

    See more

    Declaration

    Swift

    public struct MDTag : Decodable
  • Structure representing a token returned by MangaDex

    Declaration

    Swift

    public struct MDToken : Decodable
  • Structure representing a user returned by MangaDex This is passed in the data property of an MDObject

    See more

    Declaration

    Swift

    public struct MDUser : Decodable