use crate::bindings::HostOrders::{Output, Permit2Batch};
use serde::{Deserialize, Serialize};
#[derive(Clone, Debug, Deserialize, Serialize, PartialEq, Eq)]
pub struct SignedOrder {
#[serde(flatten)]
pub permit: Permit2Batch,
pub outputs: Vec<Output>,
}
impl SignedOrder {
pub const fn new(permit: Permit2Batch, outputs: Vec<Output>) -> Self {
Self { permit, outputs }
}
}