Image

public struct Image : Encodable

Represents an Embed’s image.

  • The height of this image.

    Declaration

    Swift

    public let height: Int
  • url

    The url of this image.

    Declaration

    Swift

    public var url: URL
  • The width of this image.

    Declaration

    Swift

    public let width: Int
  • Creates an Image object.

    Declaration

    Swift

    public init(url: URL)

    Parameters

    url

    The url for this field.