pub struct RefIssue {
pub source: String,
pub path: String,
pub target_uuid: String,
pub declared_type: Option<String>,
pub kind: RefIssueKind,
}Expand description
Something wrong with one reference.
Fields§
§source: StringURI of the object holding the reference.
path: StringWhere inside it: Grid2dPatch.SupportingRepresentation.
target_uuid: StringThe uuid the reference names.
declared_type: Option<String>The type the reference claims its target has, when it declares one.
kind: RefIssueKindWhat is wrong.
Implementations§
Source§impl RefIssue
impl RefIssue
Sourcepub fn is_error(&self) -> bool
pub fn is_error(&self) -> bool
Whether this breaks the package, as opposed to merely being odd.
Sourcepub fn is_info(&self) -> bool
pub fn is_info(&self) -> bool
Whether this is worth printing but says nothing is wrong.
Separate from !is_error(): a VersionMismatch is a warning about the
package, an ExternallyDefined is a remark about how the standard is
published. Counting them together would put a thousand remarks in the
warning column and hide the handful that mean something.
Trait Implementations§
impl Eq for RefIssue
impl StructuralPartialEq for RefIssue
Auto Trait Implementations§
impl Freeze for RefIssue
impl RefUnwindSafe for RefIssue
impl Send for RefIssue
impl Sync for RefIssue
impl Unpin for RefIssue
impl UnsafeUnpin for RefIssue
impl UnwindSafe for RefIssue
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.