# Struct signed::ValidDescriptor

> A descriptor that passed rule 1 and the descriptor parts of rule 5.

`zaun_community_protocol::signed::ValidDescriptor` · Struct

```rust
pub struct ValidDescriptor { … }
```

A descriptor that passed rule 1 and the descriptor parts of rule 5.

## Methods

### `descriptor`

```rust
pub const fn descriptor(&self) -> &Signed<CommunityDescriptor>
```

The verified descriptor.

### `chain`

```rust
pub const fn chain(&self) -> &ChainHead
```

The verified rotation chain.

### `accepted_state`

```rust
pub fn accepted_state(&self, previous: Option<&AcceptedState>) -> AcceptedState
```

The state to store after accepting this descriptor alone (for example a suspension):
the delegation part is carried over from `previous`.

## Trait implementations

`Clone`, `Debug`, `Eq`, `PartialEq`, `StructuralPartialEq`

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