#[non_exhaustive]pub enum IssueLocation {
File(String),
Repo(RepoId),
Main,
}Expand description
Identifies where a validation issue was found.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
File(String)
The issue is in a specific .repo file on disk.
Repo(RepoId)
The issue is in a specific repository section.
Main
The issue is in the [main] section.
Trait Implementations§
Source§impl Clone for IssueLocation
impl Clone for IssueLocation
Source§fn clone(&self) -> IssueLocation
fn clone(&self) -> IssueLocation
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 moreAuto Trait Implementations§
impl Freeze for IssueLocation
impl RefUnwindSafe for IssueLocation
impl Send for IssueLocation
impl Sync for IssueLocation
impl Unpin for IssueLocation
impl UnsafeUnpin for IssueLocation
impl UnwindSafe for IssueLocation
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