mirror of
https://github.com/italicsjenga/valence.git
synced 2025-02-04 17:46:35 +11:00
11 lines
262 B
Rust
11 lines
262 B
Rust
|
use serde::{Deserialize, Serialize};
|
||
|
|
||
|
use crate::packet::{Decode, Encode};
|
||
|
|
||
|
#[derive(Copy, Clone, PartialEq, Eq, Debug, Encode, Decode, Serialize, Deserialize)]
|
||
|
pub struct Property<S = String> {
|
||
|
pub name: S,
|
||
|
pub value: S,
|
||
|
pub signature: Option<S>,
|
||
|
}
|