pub struct PkgmgrConfig {
pub brew: Option<String>,
pub scoop: Option<String>,
pub apt: Option<String>,
pub winget: Option<String>,
}Expand description
Package-manager install targets for the pkgmgr source.
Fields§
§brew: Option<String>Homebrew formula identifier (e.g. example/tap/forge-lsp).
scoop: Option<String>Scoop manifest identifier (e.g. example/forge-lsp).
apt: Option<String>apt package identifier.
winget: Option<String>winget package identifier.
Trait Implementations§
Source§impl Clone for PkgmgrConfig
impl Clone for PkgmgrConfig
Source§fn clone(&self) -> PkgmgrConfig
fn clone(&self) -> PkgmgrConfig
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 PkgmgrConfig
impl Debug for PkgmgrConfig
Source§impl Default for PkgmgrConfig
impl Default for PkgmgrConfig
Source§fn default() -> PkgmgrConfig
fn default() -> PkgmgrConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PkgmgrConfig
impl<'de> Deserialize<'de> for PkgmgrConfig
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PkgmgrConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PkgmgrConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for PkgmgrConfig
impl Serialize for PkgmgrConfig
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for PkgmgrConfig
impl RefUnwindSafe for PkgmgrConfig
impl Send for PkgmgrConfig
impl Sync for PkgmgrConfig
impl Unpin for PkgmgrConfig
impl UnsafeUnpin for PkgmgrConfig
impl UnwindSafe for PkgmgrConfig
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