# Struct command::object::ChannelPosition

> One entry of `channel.reorder` and `channel.reordered`.

`zaun_community_protocol::command::object::ChannelPosition` · Struct

```rust
pub struct ChannelPosition { … }
```

One entry of `channel.reorder` and `channel.reordered`.

## Fields

### `channel_id: ChannelId`

The channel moved.

### `position: u32`

Its new position.

### `parent_id: Option<ChannelId>`

Its new parent. Required, `null` = top level.

## Trait implementations

`Clone`, `Copy`, `Debug`, `Deserialize<'de>`, `Eq`, `PartialEq`, `Serialize`, `StructuralPartialEq`

[Full rustdoc page](/docs/api/rust/zaun-community-protocol/zaun_community_protocol/command/object/channel/struct.ChannelPosition.html)
