pub struct HomebrewFormula {
pub tap: Option<String>,
pub license: Option<String>,
pub description: Option<String>,
pub version: String,
pub platforms: Vec<String>,
}Expand description
Inputs that describe a generated Homebrew formula.
Fields§
§tap: Option<String>The destination tap repo as an owner/repo slug (from the contract’s
distribution.homebrew_tap), or None when the contract configured none.
license: Option<String>The SPDX license expression the generated formula’s license stanza
records, or None to omit the stanza.
description: Option<String>Package metadata description, surfaced by brew search.
version: StringVersion sealed into the release plan, rendered explicitly so post-cut verification can distinguish a stale tap from a current one.
platforms: Vec<String>Release archive triples cargo-dist publishes for this package.
Trait Implementations§
Source§impl Clone for HomebrewFormula
impl Clone for HomebrewFormula
Source§fn clone(&self) -> HomebrewFormula
fn clone(&self) -> HomebrewFormula
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 HomebrewFormula
impl Debug for HomebrewFormula
Source§impl Default for HomebrewFormula
impl Default for HomebrewFormula
Source§fn default() -> HomebrewFormula
fn default() -> HomebrewFormula
Returns the “default value” for a type. Read more
impl Eq for HomebrewFormula
Source§impl PartialEq for HomebrewFormula
impl PartialEq for HomebrewFormula
impl StructuralPartialEq for HomebrewFormula
Auto Trait Implementations§
impl Freeze for HomebrewFormula
impl RefUnwindSafe for HomebrewFormula
impl Send for HomebrewFormula
impl Sync for HomebrewFormula
impl Unpin for HomebrewFormula
impl UnsafeUnpin for HomebrewFormula
impl UnwindSafe for HomebrewFormula
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.