Skip to main content

p2panda_stream/groups/
args.rs

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