Skip to main content

p2panda_stream/groups/
args.rs

1// SPDX-License-Identifier: MIT OR Apache-2.0
2
3use p2panda_core::{Hash, Operation};
4
5#[derive(Clone, Debug, Default, PartialEq, Eq)]
6#[allow(clippy::large_enum_variant)]
7pub enum GroupsArgs<E> {
8    Process {
9        state_id: Hash,
10        operation: Operation<E>,
11    },
12    #[default]
13    Ignore,
14}