pub struct UniversalBinaryConfig {
pub id: Option<String>,
pub name_template: Option<String>,
pub replace: Option<bool>,
pub ids: Option<Vec<String>>,
pub hooks: Option<BuildHooksConfig>,
pub mod_timestamp: Option<String>,
}Fields§
§id: Option<String>Unique identifier for this universal binary, propagated into the
artifact’s metadata as id (GoReleaser universalbinary.go:42-44).
name_template: Option<String>Output filename template for the universal binary (supports templates).
replace: Option<bool>When true, remove the individual arch binaries after creating the universal binary.
ids: Option<Vec<String>>Build IDs filter: only combine artifacts from builds whose id is in this list.
hooks: Option<BuildHooksConfig>Pre/post hooks around universal binary creation.
mod_timestamp: Option<String>Override the modification timestamp for reproducible universal binaries.
Trait Implementations§
Source§impl Clone for UniversalBinaryConfig
impl Clone for UniversalBinaryConfig
Source§fn clone(&self) -> UniversalBinaryConfig
fn clone(&self) -> UniversalBinaryConfig
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 UniversalBinaryConfig
impl Debug for UniversalBinaryConfig
Source§impl Default for UniversalBinaryConfig
impl Default for UniversalBinaryConfig
Source§fn default() -> UniversalBinaryConfig
fn default() -> UniversalBinaryConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UniversalBinaryConfigwhere
UniversalBinaryConfig: Default,
impl<'de> Deserialize<'de> for UniversalBinaryConfigwhere
UniversalBinaryConfig: 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
Source§impl JsonSchema for UniversalBinaryConfig
impl JsonSchema for UniversalBinaryConfig
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
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 is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for UniversalBinaryConfig
impl RefUnwindSafe for UniversalBinaryConfig
impl Send for UniversalBinaryConfig
impl Sync for UniversalBinaryConfig
impl Unpin for UniversalBinaryConfig
impl UnsafeUnpin for UniversalBinaryConfig
impl UnwindSafe for UniversalBinaryConfig
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