pub struct CharmRecipeDiff {Show 14 fields
pub auto_build: Option<bool>,
pub auto_build_channels: Option<Vec<String>>,
pub build_path: Option<String>,
pub description: Option<String>,
pub git_ref_link: Option<Url>,
pub information_type: Option<InformationType>,
pub name: Option<String>,
pub owner_link: Option<Url>,
pub private: Option<bool>,
pub project_link: Option<Url>,
pub require_virtualized: Option<bool>,
pub store_channels: Option<Vec<String>>,
pub store_name: Option<String>,
pub store_upload: Option<String>,
}Expand description
Representation of the charm_recipe-diff resource
Fields§
§auto_build: Option<bool>Automatically build when branch changes
Whether this charm recipe is built automatically when its branch changes.
auto_build_channels: Option<Vec<String>>Source snap channels for automatic builds
A dictionary mapping snap names to channels to use when building this charm recipe. Supported snap names: ‘charmcraft’, ‘core’, ‘core18’, ‘core20’, ‘core22’, ‘core24’
build_path: Option<String>Build path
Subdirectory within the branch containing metadata.yaml.
description: Option<String>Description
A description of the charm recipe.
git_ref_link: Option<Url>Git branch
The Git branch containing a charm recipe.
information_type: Option<InformationType>Information type
The type of information contained in this charm recipe.
name: Option<String>Charm recipe name
The name of the charm recipe.
owner_link: Option<Url>Owner
The owner of this charm recipe.
private: Option<bool>Private
Whether this charm recipe is private.
project_link: Option<Url>The project that this charm recipe is associated with
require_virtualized: Option<bool>Require virtualized builders
Only build this charm recipe on virtual builders.
store_channels: Option<Vec<String>>Store channels
Channels to release this charm to after uploading it to the store. A channel is defined by a combination of an optional track, a risk, and an optional branch, e.g. ‘2.1/stable/fix-123’, ‘2.1/stable’, ‘stable/fix-123’, or ‘stable’.
store_name: Option<String>Registered store name
The registered name of this charm in the store.
store_upload: Option<String>Automatically upload to store
Whether builds of this charm recipe are automatically uploaded to the store.
Implementations§
Source§impl CharmRecipeDiff
impl CharmRecipeDiff
Trait Implementations§
Source§impl Clone for CharmRecipeDiff
impl Clone for CharmRecipeDiff
Source§fn clone(&self) -> CharmRecipeDiff
fn clone(&self) -> CharmRecipeDiff
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more