pub struct MessageMetadataValidationReport {
pub diagnostics: Vec<MessageMetadataDiagnostic>,
}Expand description
Report returned by validate_message_metadata.
Fields§
§diagnostics: Vec<MessageMetadataDiagnostic>Diagnostics found while validating the metadata.
Implementations§
Source§impl MessageMetadataValidationReport
impl MessageMetadataValidationReport
Sourcepub fn has_errors(&self) -> bool
pub fn has_errors(&self) -> bool
Returns true when the report contains at least one error diagnostic.
Trait Implementations§
Source§impl Clone for MessageMetadataValidationReport
impl Clone for MessageMetadataValidationReport
Source§fn clone(&self) -> MessageMetadataValidationReport
fn clone(&self) -> MessageMetadataValidationReport
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 moreSource§impl Default for MessageMetadataValidationReport
impl Default for MessageMetadataValidationReport
Source§fn default() -> MessageMetadataValidationReport
fn default() -> MessageMetadataValidationReport
Returns the “default value” for a type. Read more
Source§impl PartialEq for MessageMetadataValidationReport
impl PartialEq for MessageMetadataValidationReport
Source§fn eq(&self, other: &MessageMetadataValidationReport) -> bool
fn eq(&self, other: &MessageMetadataValidationReport) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for MessageMetadataValidationReport
impl StructuralPartialEq for MessageMetadataValidationReport
Auto Trait Implementations§
impl Freeze for MessageMetadataValidationReport
impl RefUnwindSafe for MessageMetadataValidationReport
impl Send for MessageMetadataValidationReport
impl Sync for MessageMetadataValidationReport
impl Unpin for MessageMetadataValidationReport
impl UnsafeUnpin for MessageMetadataValidationReport
impl UnwindSafe for MessageMetadataValidationReport
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