# `Kreuzberg.PageStructure`
[🔗](https://github.com/kreuzberg-dev/kreuzberg/blob/main/lib/kreuzberg/page_structure.ex#L119)

Page structure information for a document.

Matches the Rust `PageStructure` struct.

## Fields

  * `:total_count` - Total number of pages/slides/sheets
  * `:unit_type` - Type of paginated unit ("page", "slide", "sheet")
  * `:boundaries` - Optional list of byte offset boundaries per page
  * `:pages` - Optional list of per-page metadata

# `t`

```elixir
@type t() :: %Kreuzberg.PageStructure{
  boundaries: [Kreuzberg.PageBoundary.t()] | nil,
  pages: [Kreuzberg.PageInfo.t()] | nil,
  total_count: non_neg_integer(),
  unit_type: String.t()
}
```

# `from_map`

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

# `to_map`

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

---

*Consult [api-reference.md](api-reference.md) for complete listing*
