pub struct BenchImageSourceInput {
pub path: String,
pub resolved_path: PathBuf,
pub expected_sha256: Option<String>,
pub sampling: BenchImageSamplingInput,
}Expand description
One operator-supplied image directory binding for the random request source’s image decoration ([[RFC-0004:C-BENCH-REQUEST-SOURCES]]).
Fields§
§path: StringWorkspace-relative directory path as declared.
resolved_path: PathBufAbsolute resolution of path against the workspace root.
expected_sha256: Option<String>The declared digest binding over the release-owned recursive enumeration digest of the directory.
sampling: BenchImageSamplingInputThe effective source-image sampling policy.
Trait Implementations§
Source§impl Clone for BenchImageSourceInput
impl Clone for BenchImageSourceInput
Source§impl Debug for BenchImageSourceInput
impl Debug for BenchImageSourceInput
Source§impl<'de> Deserialize<'de> for BenchImageSourceInput
impl<'de> Deserialize<'de> for BenchImageSourceInput
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
impl Eq for BenchImageSourceInput
Source§impl JsonSchema for BenchImageSourceInput
impl JsonSchema for BenchImageSourceInput
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for BenchImageSourceInput
impl PartialEq for BenchImageSourceInput
Source§impl Serialize for BenchImageSourceInput
impl Serialize for BenchImageSourceInput
impl StructuralPartialEq for BenchImageSourceInput
Auto Trait Implementations§
impl Freeze for BenchImageSourceInput
impl RefUnwindSafe for BenchImageSourceInput
impl Send for BenchImageSourceInput
impl Sync for BenchImageSourceInput
impl Unpin for BenchImageSourceInput
impl UnsafeUnpin for BenchImageSourceInput
impl UnwindSafe for BenchImageSourceInput
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