pub struct ChartDiagnostic {
pub kind: String,
pub scope: Option<String>,
pub target: Option<String>,
pub reason: String,
pub remedy: Option<String>,
}Expand description
One document-level finding, in the chart document’s own vocabulary (T021/T022).
The series’ and the projection’s own findings are the shared
AnalyticsDiagnostic values and travel inside their nodes; this shape carries what
only the export can know — that a configured remote target cannot carry chart data,
and that the document’s schema version differs from this build’s. kind is a plain
string so a kind a newer build adds survives a round trip instead of failing to parse.
Fields§
§kind: StringThe stable contract name (UNSUPPORTED_REMOTE_FIELD, VERSION_MISMATCH, …).
scope: Option<String>The stable id of the scope the finding is about, when it is about one.
target: Option<String>The remote target, when the finding is about a mapping a target cannot carry.
reason: StringWhat is wrong, in one sentence.
remedy: Option<String>What the reader can do about it, when there is something.
Implementations§
Trait Implementations§
Source§impl Clone for ChartDiagnostic
impl Clone for ChartDiagnostic
Source§impl Debug for ChartDiagnostic
impl Debug for ChartDiagnostic
Source§impl<'de> Deserialize<'de> for ChartDiagnostic
impl<'de> Deserialize<'de> for ChartDiagnostic
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>,
impl Eq for ChartDiagnostic
Source§impl Ord for ChartDiagnostic
impl Ord for ChartDiagnostic
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for ChartDiagnostic
impl PartialEq for ChartDiagnostic
Source§impl PartialOrd for ChartDiagnostic
impl PartialOrd for ChartDiagnostic
Source§impl Serialize for ChartDiagnostic
impl Serialize for ChartDiagnostic
impl StructuralPartialEq for ChartDiagnostic
Auto Trait Implementations§
impl Freeze for ChartDiagnostic
impl RefUnwindSafe for ChartDiagnostic
impl Send for ChartDiagnostic
impl Sync for ChartDiagnostic
impl Unpin for ChartDiagnostic
impl UnsafeUnpin for ChartDiagnostic
impl UnwindSafe for ChartDiagnostic
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more