pub struct ValidationMetadata {
pub duration_ms: u64,
pub used_temp_project: bool,
pub cargo_command: Option<String>,
pub exit_code: Option<i32>,
}Available on crate feature
doc-audit only.Expand description
Additional metadata about the validation process.
Fields§
§duration_ms: u64Time taken for validation in milliseconds
used_temp_project: boolWhether a temporary project was created
cargo_command: Option<String>Cargo command that was executed
exit_code: Option<i32>Exit code from cargo command
Trait Implementations§
Source§impl Clone for ValidationMetadata
impl Clone for ValidationMetadata
Source§fn clone(&self) -> ValidationMetadata
fn clone(&self) -> ValidationMetadata
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ValidationMetadata
impl Debug for ValidationMetadata
Source§impl Default for ValidationMetadata
impl Default for ValidationMetadata
Source§fn default() -> ValidationMetadata
fn default() -> ValidationMetadata
Returns the “default value” for a type. Read more
Source§impl PartialEq for ValidationMetadata
impl PartialEq for ValidationMetadata
impl StructuralPartialEq for ValidationMetadata
Auto Trait Implementations§
impl Freeze for ValidationMetadata
impl RefUnwindSafe for ValidationMetadata
impl Send for ValidationMetadata
impl Sync for ValidationMetadata
impl Unpin for ValidationMetadata
impl UnwindSafe for ValidationMetadata
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<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
Source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request