# Struct signed::ValidPair

> A (descriptor, delegation) pair valid at the time it was checked, with the state to store. Only `validate_pair` creates one.

`zaun_community_protocol::signed::ValidPair` · Struct

```rust
pub struct ValidPair { … }
```

A (descriptor, delegation) pair valid at the time it was checked, with the state to store.
Only `validate_pair` creates one.

## Methods

### `descriptor`

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

The verified descriptor.

### `delegation`

```rust
pub const fn delegation(&self) -> &Signed<HostDelegation>
```

The verified delegation.

### `chain`

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

The verified rotation chain.

### `state`

```rust
pub const fn state(&self) -> &AcceptedState
```

The anti-rollback state to store for the community after accepting this pair.

## Trait implementations

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

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