pub struct GenerationCompleteEvent {
pub spec_path: String,
pub output_dir: String,
pub files_generated: u32,
pub duration_ms: u64,
pub timestamp: String,
}Expand description
Code generation completed event
Emitted when code generation from a specification completes.
Fields§
§spec_path: StringSpecification file path
output_dir: StringOutput directory
files_generated: u32Number of files generated
duration_ms: u64Duration in milliseconds
timestamp: StringTimestamp of the completion
Trait Implementations§
Source§impl Clone for GenerationCompleteEvent
impl Clone for GenerationCompleteEvent
Source§fn clone(&self) -> GenerationCompleteEvent
fn clone(&self) -> GenerationCompleteEvent
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 GenerationCompleteEvent
impl Debug for GenerationCompleteEvent
Source§impl<'de> Deserialize<'de> for GenerationCompleteEvent
impl<'de> Deserialize<'de> for GenerationCompleteEvent
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
Auto Trait Implementations§
impl Freeze for GenerationCompleteEvent
impl RefUnwindSafe for GenerationCompleteEvent
impl Send for GenerationCompleteEvent
impl Sync for GenerationCompleteEvent
impl Unpin for GenerationCompleteEvent
impl UnwindSafe for GenerationCompleteEvent
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