#[repr(C)]
pub struct Offer {
/// Order size in SY, PT, or YT (deposited amount)
pub amount: u64,
/// Expiry time as Unix timestamp
pub expiry_at: u32,
/// Created at Unix timestamp
pub created_at: u32,
/// Virtual offer flag (true if this is a PT order)
pub virtual_offer: u8,
/// Offer type flag (SellYt or BuyYt)
pub offer_type_flag: u8,
/// Fill or kill flag
/// If true, the order must be filled completely or cancelled
pub fill_or_kill: u8,
/// Reserved padding for alignment
pub _reserved: [u8; 5],
}