relay_event_schema/protocol/
relay_info.rsuse relay_protocol::{Annotated, Empty, FromValue, IntoValue, Object, Value};
use crate::processor::ProcessValue;
#[derive(Clone, Debug, Default, PartialEq, Empty, FromValue, IntoValue, ProcessValue)]
pub struct RelayInfo {
#[metastructure(required = true, max_chars = 256, max_chars_allowance = 20)]
pub version: Annotated<String>,
#[metastructure(required = false, max_chars = 256, max_chars_allowance = 20)]
pub public_key: Annotated<String>,
#[metastructure(additional_properties)]
pub other: Object<Value>,
}