# Enum command::object::Stream

> An event stream. SPEC: a plain string, as in the the protocol `stream` field and the the protocol example (`"stream": "channel"`), not `{t}`.

`zaun_community_protocol::command::object::Stream` · Enum

```rust
pub enum Stream { … }
```

An event stream. SPEC: a plain string, as in the the protocol `stream` field and the
the protocol example (`"stream": "channel"`), not `{t}`.

## Variants

### `Channel`

Per channel, `channel_seq`.

### `Member`

Per member, `member_seq`.

### `Live`

Not sequenced, not recoverable.

## Methods

### `as_str`

```rust
pub const fn as_str(self) -> &'static str
```

The wire string.

## Trait implementations

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

[Full rustdoc page](/docs/api/rust/zaun-community-protocol/zaun_community_protocol/command/object/sync/enum.Stream.html)
