pub fn insert(conn: &Connection, req: &NewSubscription<'_>) -> Result<String>Expand description
Insert a subscription, hashing any secret before persisting.
Returns the new subscription’s id.
pub fn insert(conn: &Connection, req: &NewSubscription<'_>) -> Result<String>Insert a subscription, hashing any secret before persisting.
Returns the new subscription’s id.