feed_parser/lib/feed.ex

11 lines
263 B
Elixir
Raw Normal View History

2019-08-31 23:02:41 +00:00
defmodule FeedParser.Feed do
defstruct [:site_url, :title, :image_url, :items]
@type t() :: %__MODULE__{
site_url: String.t(),
title: String.t(),
image_url: String.t() | nil,
items: [FeedParser.Item.t()]
}
end