usecrate::Job;/// A single unit of work to be enqueued into a Redis Stream.
////// The `id` is passed directly to `XADD` as the message ID. Use `"*"` to
/// let Redis auto-generate a timestamp-based ID.
pubstructTask<T: Job>{/// Stream message ID (e.g. `"*"` for auto-generated, or a specific ID).
pubid: String,
/// The payload to serialize into stream fields via [`Job`].
pubpayload: T,
}