---
title: "AnnotationInfo"
---
<!-- DO NOT EDIT! This file was auto-generated by crates/build/re_types_builder/src/codegen/docs/website.rs -->

Annotation info annotating a class id or key-point id.

Color and label will be used to annotate entities/keypoints which reference the id.
The id refers either to a class or key-point id

## Fields
#### `id`
Type: non-null `UInt16`

[`datatypes.ClassId`](https://rerun.io/docs/reference/types/datatypes/class_id) or [`datatypes.KeypointId`](https://rerun.io/docs/reference/types/datatypes/keypoint_id) to which this annotation info belongs.

#### `label`
Type: [`Utf8`](../datatypes/utf8.md)

The label that will be shown in the UI.

#### `color`
Type: [`Rgba32`](../datatypes/rgba32.md)

The color that will be applied to the annotated entity.


## Arrow datatype
```
Struct(
    "id": non-null UInt16
    "label": Utf8
    "color": UInt32
)
```

## API reference links
 * 🌊 [C++ API docs for `AnnotationInfo`](https://ref.rerun.io/docs/cpp/stable/structrerun_1_1datatypes_1_1AnnotationInfo.html)
 * 🐍 [Python API docs for `AnnotationInfo`](https://ref.rerun.io/docs/python/stable/common/datatypes#rerun.datatypes.AnnotationInfo)
 * 🦀 [Rust API docs for `AnnotationInfo`](https://docs.rs/rerun/latest/rerun/datatypes/struct.AnnotationInfo.html)


## Used by

* [`ClassDescription`](../datatypes/class_description.md)
