pub struct Autolinks {
pub mode: Mode,
pub autolinks: BTreeMap<KeyPrefix, Autolink>,
}Expand description
Desired autolink references of a repository.
Fields§
§mode: ModeWhether autolinks that are not declared are kept or deleted.
autolinks: BTreeMap<KeyPrefix, Autolink>The autolinks keyed by key prefix.
Implementations§
Trait Implementations§
impl Eq for Autolinks
impl StructuralPartialEq for Autolinks
Auto Trait Implementations§
impl Freeze for Autolinks
impl RefUnwindSafe for Autolinks
impl Send for Autolinks
impl Sync for Autolinks
impl Unpin for Autolinks
impl UnsafeUnpin for Autolinks
impl UnwindSafe for Autolinks
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.