pub struct EventDocument {
pub source_path: Option<String>,
pub specification: Option<String>,
pub specification_version: Option<String>,
pub observations: Vec<EventObservation>,
pub warnings: Vec<String>,
pub incomplete: bool,
}Expand description
Deterministic event facts and extraction limitations for one input.
Fields§
§source_path: Option<String>Repository-relative source path for declarative contracts.
specification: Option<String>Contract family, currently asyncapi, when applicable.
specification_version: Option<String>Exact AsyncAPI version when applicable.
observations: Vec<EventObservation>Sorted and deduplicated event observations.
warnings: Vec<String>Sorted and deduplicated document-level limitations.
incomplete: boolWhether truncation or ambiguity prevents complete extraction.
Trait Implementations§
Source§impl Clone for EventDocument
impl Clone for EventDocument
Source§fn clone(&self) -> EventDocument
fn clone(&self) -> EventDocument
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 Debug for EventDocument
impl Debug for EventDocument
Source§impl Default for EventDocument
impl Default for EventDocument
Source§fn default() -> EventDocument
fn default() -> EventDocument
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EventDocument
impl<'de> Deserialize<'de> for EventDocument
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for EventDocument
impl PartialEq for EventDocument
Source§impl Serialize for EventDocument
impl Serialize for EventDocument
impl StructuralPartialEq for EventDocument
Auto Trait Implementations§
impl Freeze for EventDocument
impl RefUnwindSafe for EventDocument
impl Send for EventDocument
impl Sync for EventDocument
impl Unpin for EventDocument
impl UnsafeUnpin for EventDocument
impl UnwindSafe for EventDocument
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