scruffy/image

A type describing the quality of images available for a card printing.

Types

The quality of images Scryfall has available for a card printing.

pub type ImageStatus {
  Missing
  Placeholder
  LowResolution
  HighResolutionScan
}

Constructors

  • Missing
  • Placeholder
  • LowResolution
  • HighResolutionScan

The image URIs Scryfall serves for a card or card face, keyed by size or crop. Every field is optional since a card missing its image (or with image_status of Missing) may omit some or all of them.

pub type ImageUris {
  ImageUris(
    small: option.Option(uri.Uri),
    normal: option.Option(uri.Uri),
    large: option.Option(uri.Uri),
    png: option.Option(uri.Uri),
    art_crop: option.Option(uri.Uri),
    border_crop: option.Option(uri.Uri),
  )
}

Constructors

Values

pub fn image_uris_schema() -> glon.JsonSchema(ImageUris)
Search Document