pub struct MockGenerationResult {
pub spec: Option<Value>,
pub message: String,
pub parsed_command: Option<ParsedCommand>,
pub frozen_artifact: Option<FrozenArtifact>,
}Expand description
Result of mock generation
Fields§
§spec: Option<Value>Generated OpenAPI spec (if any)
message: StringStatus message
parsed_command: Option<ParsedCommand>Parsed command details (for debugging/preview)
frozen_artifact: Option<FrozenArtifact>Frozen artifact (if auto-freeze was enabled)
Trait Implementations§
Source§impl Clone for MockGenerationResult
impl Clone for MockGenerationResult
Source§fn clone(&self) -> MockGenerationResult
fn clone(&self) -> MockGenerationResult
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 MockGenerationResult
impl Debug for MockGenerationResult
Source§impl<'de> Deserialize<'de> for MockGenerationResult
impl<'de> Deserialize<'de> for MockGenerationResult
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 MockGenerationResult
impl RefUnwindSafe for MockGenerationResult
impl Send for MockGenerationResult
impl Sync for MockGenerationResult
impl Unpin for MockGenerationResult
impl UnsafeUnpin for MockGenerationResult
impl UnwindSafe for MockGenerationResult
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