use super::*;
#[derive(
Clone, Data, Debug, Default, Deserialize, Eq, Hash, New, Ord, PartialEq, PartialOrd, Serialize,
)]
pub struct SlotKey {
pub(crate) key: String,
}
#[derive(
Clone, Data, Debug, Default, Deserialize, Eq, Hash, New, Ord, PartialEq, PartialOrd, Serialize,
)]
pub struct ComponentInterfaceId {
pub(crate) id: String,
#[get(type(copy))]
pub(crate) version: u32,
}
#[derive(Clone, Data, Debug, Default, Deserialize, Eq, Hash, New, PartialEq, Serialize)]
pub struct ProductCardProps {
pub(crate) product_id: String,
#[get(type(copy))]
pub(crate) quantity: u32,
}
#[derive(Clone, Copy, Debug, Default, Eq, Hash, PartialEq)]
pub struct ProductCardContract;
#[derive(Clone, Copy, Data, Debug, Default, Eq, Hash, New, PartialEq)]
pub struct DynamicFrameMetrics {
#[get(type(copy))]
pub(crate) dynamic_module_calls: u64,
#[get(type(copy))]
pub(crate) boundary_serializations: u64,
#[get(type(copy))]
pub(crate) manifest_lookups: u64,
}
#[derive(Clone, Data, Debug, Eq, New, PartialEq)]
pub struct ResolvedContractBinding {
pub(crate) route: String,
pub(crate) slot_key: SlotKey,
#[get(type(copy))]
pub(crate) generation_id: u64,
pub(crate) interface_id: String,
#[get(type(copy))]
pub(crate) interface_version: u32,
#[get(type(copy))]
pub(crate) state_schema_version: u32,
pub(crate) source: DynamicBindingSource,
}