pub type EmptyStruct = Unit;Expand description
The wire type corresponding to EmptyStruct.
Aliased Type§
#[repr(u8)]pub enum EmptyStruct {
Unit = 0,
}Variants§
Unit = 0
Empty structs are represented as a single 0u8.
pub type EmptyStruct = Unit;The wire type corresponding to EmptyStruct.
#[repr(u8)]pub enum EmptyStruct {
Unit = 0,
}Empty structs are represented as a single 0u8.