pub struct AutolinkBody {
pub key_prefix: String,
pub url_template: String,
pub is_alphanumeric: bool,
}Expand description
The body that creates an autolink.
Fields§
§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§
Source§impl Clone for AutolinkBody
impl Clone for AutolinkBody
Source§fn clone(&self) -> AutolinkBody
fn clone(&self) -> AutolinkBody
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AutolinkBody
impl Debug for AutolinkBody
impl Eq for AutolinkBody
Source§impl<'ʄ> Facet<'ʄ> for AutolinkBody
impl<'ʄ> Facet<'ʄ> for AutolinkBody
Source§impl PartialEq for AutolinkBody
impl PartialEq for AutolinkBody
impl StructuralPartialEq for AutolinkBody
Auto Trait Implementations§
impl Freeze for AutolinkBody
impl RefUnwindSafe for AutolinkBody
impl Send for AutolinkBody
impl Sync for AutolinkBody
impl Unpin for AutolinkBody
impl UnsafeUnpin for AutolinkBody
impl UnwindSafe for AutolinkBody
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.