Kreuzberg.ContributorRole (kreuzberg v4.9.5)

Copy Markdown View Source

JATS contributor with role.

Matches the Rust ContributorRole struct.

Fields

  • :name - Contributor name
  • :role - Contributor role (e.g., "author", "editor")

Summary

Types

t()

@type t() :: %Kreuzberg.ContributorRole{name: String.t(), role: String.t() | nil}

Functions

from_map(data)

@spec from_map(map()) :: t()

to_map(cr)

@spec to_map(t()) :: map()