AshSitemap.Sitemaps.PageMap.DataObject.Attribute behaviour (ash_sitemap v1.0.1)

View Source

A struct module representing a dataobject attribute. This module can also be used to implement manual dataobject attributes.

See more https://developers.google.com/search/docs/crawling-indexing/sitemaps/news-sitemap

Summary

Types

t()

@type t() :: %AshSitemap.Sitemaps.PageMap.DataObject.Attribute{
  name: String.t(),
  value: String.t() | nil
}

Callbacks

generate(record)

@callback generate(record :: Ash.Resource.t()) :: t()