pub struct ContractBaseline {
pub command: String,
pub args: Value,
pub shape: JsonShape,
pub sample: String,
pub recorded_at: String,
}Expand description
A recorded contract baseline for a command’s response.
Fields§
§command: StringCommand name.
args: ValueArguments used when recording.
shape: JsonShapeShape of the response.
sample: StringRaw sample response (first 4KB).
recorded_at: StringWhen this baseline was recorded.
Trait Implementations§
Source§impl Clone for ContractBaseline
impl Clone for ContractBaseline
Source§fn clone(&self) -> ContractBaseline
fn clone(&self) -> ContractBaseline
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 ContractBaseline
impl Debug for ContractBaseline
Auto Trait Implementations§
impl Freeze for ContractBaseline
impl RefUnwindSafe for ContractBaseline
impl Send for ContractBaseline
impl Sync for ContractBaseline
impl Unpin for ContractBaseline
impl UnsafeUnpin for ContractBaseline
impl UnwindSafe for ContractBaseline
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