chunkedge_protocol/packets/configuration/
custom_report_details_s2c.rs1use chunkedge_binary::{Bounded, Decode, Encode};
2
3use crate::{Packet, PacketState};
4
5#[derive(Clone, Debug, Encode, Decode, Packet)]
6#[packet(state = PacketState::Configuration)]
7pub struct CustomReportDetailsS2c<'a> {
8 pub details: Vec<CustomReportDetail<'a>>,
9}
10
11#[derive(Clone, Debug, Encode, Decode)]
12pub struct CustomReportDetail<'a> {
13 pub title: Bounded<&'a str, 128>,
14 pub description: Bounded<&'a str, 4096>,
15}