> ## Documentation Index
> Fetch the complete documentation index at: https://docs.law4devs.eu/llms.txt
> Use this file to discover all available pages before exploring further.

# Annexes

> List and retrieve framework annexes with the Rust SDK.

## Methods

```rust theme={null}
client.annexes.list(framework_slug: &str, page: Option<u32>, per_page: Option<u32>)
    -> Result<Page<AnnexSummary>, Law4DevsError>

client.annexes.get(framework_slug: &str, annex_number: &str)
    -> Result<Annex, Law4DevsError>

client.annexes.iter(framework_slug: &str, per_page: u32)
    -> impl Stream<Item = Result<AnnexSummary, Law4DevsError>>
```

***

## List Annexes

```rust theme={null}
let page = client.annexes.list("cra", None, None).await?;
for a in &page.data {
    println!("Annex {}: {}", a.annex_number, a.title);
}
```

***

## Get an Annex

```rust theme={null}
let annex = client.annexes.get("cra", "I").await?;
println!("{}", annex.content);
```

***

## Auto-Paginate

```rust theme={null}
use futures::StreamExt;

let mut stream = Box::pin(client.annexes.iter("cra", 20));
while let Some(result) = stream.next().await {
    let a = result?;
    println!("Annex {} — {}", a.annex_number, a.title);
}
```

***

## `AnnexSummary` Fields

| Field             | Type             | Description                   |
| ----------------- | ---------------- | ----------------------------- |
| `id`              | `u32`            | Internal ID                   |
| `framework_slug`  | `String`         | Parent framework slug         |
| `annex_number`    | `String`         | Annex identifier (e.g. `"I"`) |
| `title`           | `String`         | Annex title                   |
| `content_summary` | `Option<String>` | Brief summary                 |

## `Annex` Additional Fields

| Field     | Type     | Description     |
| --------- | -------- | --------------- |
| `content` | `String` | Full annex text |
