ephemeris_forge_github/api/request/autolinks.rs
1use facet::Facet;
2
3/// The body that creates an autolink.
4#[derive(Clone, Debug, Eq, Facet, PartialEq)]
5pub struct AutolinkBody {
6 /// The prefix that starts a reference.
7 pub key_prefix: String,
8 /// The link target, with `<num>` where the reference number goes.
9 pub url_template: String,
10 /// Whether the reference may contain letters.
11 pub is_alphanumeric: bool,
12}