Skip to main content

sb3_decoder/model/code/
broadcast.rs

1use crate::macros::string_id;
2
3/// The representation of a Scratch broadcast.
4#[derive(Debug, Clone)]
5#[non_exhaustive]
6pub struct Broadcast {
7    pub name: String,
8}
9
10string_id! {
11    /// The ID of a Scratch broadcast.
12    BroadcastId
13}