pub struct WingetConfig {Show 32 fields
pub name: Option<String>,
pub package_name: Option<String>,
pub package_identifier: Option<String>,
pub publisher: Option<String>,
pub publisher_url: Option<String>,
pub publisher_support_url: Option<String>,
pub privacy_url: Option<String>,
pub author: Option<String>,
pub copyright: Option<String>,
pub copyright_url: Option<String>,
pub license: Option<String>,
pub license_url: Option<String>,
pub short_description: Option<String>,
pub description: Option<String>,
pub homepage: Option<String>,
pub url_template: Option<String>,
pub ids: Option<Vec<String>>,
pub skip_upload: Option<StringOrBool>,
pub commit_msg_template: Option<String>,
pub path: Option<String>,
pub release_notes: Option<String>,
pub release_notes_url: Option<String>,
pub installation_notes: Option<String>,
pub tags: Option<Vec<String>>,
pub dependencies: Option<Vec<WingetDependency>>,
pub repository: Option<RepositoryConfig>,
pub commit_author: Option<CommitAuthorConfig>,
pub product_code: Option<String>,
pub use_artifact: Option<String>,
pub amd64_variant: Option<String>,
pub post_publish_poll: Option<PostPublishPollConfig>,
pub update_existing_pr: Option<StringOrBool>,
}Fields§
§name: Option<String>Override the package name (default: crate name).
package_name: Option<String>Package name as displayed (default: same as name).
package_identifier: Option<String>WinGet package identifier (e.g. “Publisher.AppName”). Auto-generated if empty.
publisher: Option<String>Publisher name (required).
publisher_url: Option<String>Publisher homepage URL shown in the WinGet manifest.
publisher_support_url: Option<String>Publisher support URL.
privacy_url: Option<String>Privacy policy URL.
Author name.
copyright: Option<String>Copyright notice.
copyright_url: Option<String>Copyright URL.
license: Option<String>License identifier (required, e.g. “MIT”).
license_url: Option<String>License URL.
short_description: Option<String>Short description (required, max 256 chars).
description: Option<String>Full package description displayed in the WinGet gallery.
homepage: Option<String>Project homepage URL.
url_template: Option<String>Custom URL template for download URLs (overrides release URL).
ids: Option<Vec<String>>Build IDs filter: only include artifacts whose id is in this list.
skip_upload: Option<StringOrBool>Skip publishing. "true" always skips; "auto" skips for prereleases.
Accepts bool or template string.
commit_msg_template: Option<String>Custom commit message template.
path: Option<String>Manifest file path (auto-generated if empty from publisher/name/version).
release_notes: Option<String>Release notes for this version.
release_notes_url: Option<String>URL to full release notes.
installation_notes: Option<String>Post-install notes shown to the user.
Tags for package discovery (lowercased, spaces→hyphens).
dependencies: Option<Vec<WingetDependency>>Package dependencies.
repository: Option<RepositoryConfig>Unified repository config with branch, token, PR, git SSH support.
(Replaces the legacy manifests_repo: WingetManifestsRepoConfig.)
Commit author with optional signing.
product_code: Option<String>Product code for the installer (used in Add/Remove Programs).
use_artifact: Option<String>Artifact selection: “archive” (default), “msi”, or “nsis”.
amd64_variant: Option<String>amd64 microarchitecture variant filter (e.g. “v1”, “v2”, “v3”, “v4”). Only artifacts matching this variant are included. Default: “v1”.
post_publish_poll: Option<PostPublishPollConfig>Post-publish PR-validation polling settings. When unset, polling runs
with defaults (enabled, 30s interval, 30m timeout). Polling can be
disabled globally via --no-post-publish-poll.
update_existing_pr: Option<StringOrBool>When true, force-push the updated manifest to the existing PR branch when a PR for the same head branch already exists. The PR content is updated in place rather than creating a duplicate. When false (default), the push is skipped and a warning is emitted so the operator sees that the publisher did not update the PR.
Trait Implementations§
Source§impl Clone for WingetConfig
impl Clone for WingetConfig
Source§fn clone(&self) -> WingetConfig
fn clone(&self) -> WingetConfig
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for WingetConfig
impl Debug for WingetConfig
Source§impl Default for WingetConfig
impl Default for WingetConfig
Source§fn default() -> WingetConfig
fn default() -> WingetConfig
Source§impl<'de> Deserialize<'de> for WingetConfigwhere
WingetConfig: Default,
impl<'de> Deserialize<'de> for WingetConfigwhere
WingetConfig: 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>,
Source§impl JsonSchema for WingetConfig
impl JsonSchema for WingetConfig
Source§fn schema_name() -> String
fn schema_name() -> String
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref keyword. Read more