pub struct RemoteMappingDiagnostic {
pub relation_id: String,
pub field: String,
pub tool: Tool,
pub message: String,
}Expand description
The record emitted when a remote tracker cannot represent a local relation
(FR-005, C-005, data-model.md §6).
The four fields are fixed by the data model. field is the important one: it
is what makes the diagnostic actionable rather than a shrug, and
data-model.md §6 requires it for exactly that reason — “so the message can
name it”.
Fields§
§relation_id: StringThe local relationship the diagnostic is about.
field: StringThe specific unsupported remote field or relation name.
tool: ToolWhich adapter produced the diagnostic.
message: StringHuman-readable text, safe for CLI output, the TUI, and lint.
Trait Implementations§
Source§impl Clone for RemoteMappingDiagnostic
impl Clone for RemoteMappingDiagnostic
Source§impl Debug for RemoteMappingDiagnostic
impl Debug for RemoteMappingDiagnostic
Source§impl Display for RemoteMappingDiagnostic
impl Display for RemoteMappingDiagnostic
impl Eq for RemoteMappingDiagnostic
Source§impl PartialEq for RemoteMappingDiagnostic
impl PartialEq for RemoteMappingDiagnostic
impl StructuralPartialEq for RemoteMappingDiagnostic
Auto Trait Implementations§
impl Freeze for RemoteMappingDiagnostic
impl RefUnwindSafe for RemoteMappingDiagnostic
impl Send for RemoteMappingDiagnostic
impl Sync for RemoteMappingDiagnostic
impl Unpin for RemoteMappingDiagnostic
impl UnsafeUnpin for RemoteMappingDiagnostic
impl UnwindSafe for RemoteMappingDiagnostic
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
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> ⓘ
Converts
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> ⓘ
Converts
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 moreSource§impl<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere
T: Display,
Source§fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
Fallible version of
ToCompactString::to_compact_string() Read moreSource§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
Converts the given value to a
CompactString. Read more