pub struct Autolink {
pub id: u64,
pub key_prefix: String,
pub url_template: String,
pub is_alphanumeric: bool,
}Expand description
An autolink reference as GitHub reports it.
Fields§
§id: u64The id GitHub gave the autolink.
key_prefix: StringThe prefix that starts a reference.
url_template: StringThe link target, with <num> where the reference number goes.
is_alphanumeric: boolWhether the reference may contain letters.
Trait Implementations§
impl Eq for Autolink
impl StructuralPartialEq for Autolink
Auto Trait Implementations§
impl Freeze for Autolink
impl RefUnwindSafe for Autolink
impl Send for Autolink
impl Sync for Autolink
impl Unpin for Autolink
impl UnsafeUnpin for Autolink
impl UnwindSafe for Autolink
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.