Files

13 lines
417 B
Rust

//! Read-only receipt-backed rental history. No tokens, invoices, capabilities,
//! wallet amounts, or payment commands cross the app boundary.
use crate::native_rental_checkout::Publication;
use serde::Serialize;
#[derive(Clone, Serialize)]
pub(crate) struct Entry {
pub operation_id: String,
pub publication: Publication,
pub rented_at: u64,
pub ended: bool,
pub payment_method: &'static str,
}