pub struct Autolink {
pub id: i32,
pub key_prefix: String,
pub url_template: String,
pub is_alphanumeric: bool,
}
Expand description
Autolink : An autolink reference.
Fields§
§id: i32
§key_prefix: String
The prefix of a key that is linkified.
url_template: String
A template for the target URL that is generated if a key was found.
is_alphanumeric: bool
Whether this autolink reference matches alphanumeric characters. If false, this autolink reference only matches numeric characters.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Autolink
impl<'de> Deserialize<'de> for Autolink
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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 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