pub struct OutputOptions {
pub response_format: ResponseFormat,
pub filename_prefix: Option<String>,
pub directory: Option<String>,
pub filename: Option<String>,
pub collision: ArtifactCollisionPolicy,
pub metadata: ArtifactMetadataPolicy,
pub transparency: TransparencyOptions,
}Expand description
Output delivery controls.
Fields§
§response_format: ResponseFormatResponse payload representation.
filename_prefix: Option<String>Optional logical artifact filename prefix.
directory: Option<String>Optional portable relative directory below the configured artifact root.
filename: Option<String>Optional exact single-image filename, with or without a matching extension.
collision: ArtifactCollisionPolicyAtomic behavior if an explicit filename already exists.
metadata: ArtifactMetadataPolicyOptional portable metadata persistence beside each artifact.
transparency: TransparencyOptionsTransparent-background implementation and matte controls.
Trait Implementations§
Source§impl Clone for OutputOptions
impl Clone for OutputOptions
Source§fn clone(&self) -> OutputOptions
fn clone(&self) -> OutputOptions
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 OutputOptions
impl Debug for OutputOptions
Source§impl Default for OutputOptions
impl Default for OutputOptions
Source§fn default() -> OutputOptions
fn default() -> OutputOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OutputOptionswhere
OutputOptions: Default,
impl<'de> Deserialize<'de> for OutputOptionswhere
OutputOptions: Default,
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 OutputOptions
Source§impl JsonSchema for OutputOptions
impl JsonSchema for OutputOptions
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 OutputOptions
impl PartialEq for OutputOptions
Source§impl Serialize for OutputOptions
impl Serialize for OutputOptions
impl StructuralPartialEq for OutputOptions
Auto Trait Implementations§
impl Freeze for OutputOptions
impl RefUnwindSafe for OutputOptions
impl Send for OutputOptions
impl Sync for OutputOptions
impl Unpin for OutputOptions
impl UnsafeUnpin for OutputOptions
impl UnwindSafe for OutputOptions
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