# Struct signed::RootRotation

> The replacement of the community's root key, signed by the old **and** the new key.

`zaun_community_protocol::signed::RootRotation` · Struct

```rust
pub struct RootRotation { … }
```

The replacement of the community's root key, signed by the old **and** the new key.

## Fields

### `community_id: CommunityId`

2: the community.

### `rotation_seq: u64`

3: 1 for the first rotation, then +1.

### `old_root: PublicKey`

4: the root key being retired.

### `new_root: PublicKey`

5: the root key taking over.

### `new_suite: u8`

6: the suite of `new_root`; ≥ the old key's suite.

### `issued_at: u64`

7: ms.

## Trait implementations

`Clone`, `Debug`, `Decode`, `Encode`, `Eq`, `PartialEq`, `SignedObject`, `StructuralPartialEq`

[Full rustdoc page](/docs/api/rust/zaun-community-protocol/zaun_community_protocol/signed/rotation/struct.RootRotation.html)
