pub struct Package {Show 14 fields
pub name: String,
pub repo_slug: String,
pub filetype: Filetype,
pub version: Version,
pub channel: Channel,
pub provider: Provider,
pub base_url: Option<String>,
pub is_pinned: bool,
pub match_pattern: Option<String>,
pub exclude_pattern: Option<String>,
pub icon_path: Option<PathBuf>,
pub install_path: Option<PathBuf>,
pub exec_path: Option<PathBuf>,
pub last_upgraded: DateTime<Utc>,
}Fields§
§name: String§repo_slug: String§filetype: Filetype§version: Version§channel: Channel§provider: Provider§base_url: Option<String>§is_pinned: bool§match_pattern: Option<String>§exclude_pattern: Option<String>§icon_path: Option<PathBuf>§install_path: Option<PathBuf>§exec_path: Option<PathBuf>§last_upgraded: DateTime<Utc>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Package
impl<'de> Deserialize<'de> for Package
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
Auto Trait Implementations§
impl Freeze for Package
impl RefUnwindSafe for Package
impl Send for Package
impl Sync for Package
impl Unpin for Package
impl UnsafeUnpin for Package
impl UnwindSafe for Package
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