use serde::{Deserialize, Serialize};
use crate::{impl_cow, GroupSetting};
#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
pub struct CanResolveTopicsGroup(pub GroupSetting);
impl CanResolveTopicsGroup {
pub const fn new() -> Self {
Self(GroupSetting::new())
}
pub const fn from_inner(val: GroupSetting) -> Self {
Self(val)
}
pub fn into_inner(self) -> GroupSetting {
self.0
}
}
impl Default for CanResolveTopicsGroup {
fn default() -> Self {
Self::new()
}
}
impl_cow!(CanResolveTopicsGroup);