pub struct InstalledNativePackage {
pub name: String,
pub version: String,
pub source: Option<String>,
pub artifacts: Vec<String>,
}Expand description
A Rust-native extension installed through rpi install.
source is absent for crates.io packages and contains the local source
path for --path installs. Local development crates are intentionally not
eligible for automatic registry updates.
Fields§
§name: String§version: String§source: Option<String>§artifacts: Vec<String>Dynamic-library file names copied into the extension store. Older metadata files omit this field; uninstall falls back to crate-name matching for those records.
Trait Implementations§
Source§impl Clone for InstalledNativePackage
impl Clone for InstalledNativePackage
Source§fn clone(&self) -> InstalledNativePackage
fn clone(&self) -> InstalledNativePackage
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 InstalledNativePackage
impl Debug for InstalledNativePackage
Source§impl<'de> Deserialize<'de> for InstalledNativePackage
impl<'de> Deserialize<'de> for InstalledNativePackage
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
impl Eq for InstalledNativePackage
Source§impl PartialEq for InstalledNativePackage
impl PartialEq for InstalledNativePackage
Source§impl Serialize for InstalledNativePackage
impl Serialize for InstalledNativePackage
impl StructuralPartialEq for InstalledNativePackage
Auto Trait Implementations§
impl Freeze for InstalledNativePackage
impl RefUnwindSafe for InstalledNativePackage
impl Send for InstalledNativePackage
impl Sync for InstalledNativePackage
impl Unpin for InstalledNativePackage
impl UnsafeUnpin for InstalledNativePackage
impl UnwindSafe for InstalledNativePackage
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.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.