Skip to main content

claim_send_slot

pub async fn claim_send_slot(
    conn: &mut PgConnection,
    new: &NewAccountLinkingEmail,
) -> ModelResult<Option<Uuid>>
Expand description

Claims the right to mail this (person, course, address) once; None means the caller must not send. Call in the transaction that mints the token, so a refused claim leaves no usable link.