pub struct ProvenanceSurface {
pub author: Option<String>,
pub repository: Option<String>,
pub license: Option<String>,
pub signed: bool,
pub checksum: Option<String>,
}Expand description
Provenance metadata — who wrote this, where it came from.
Fields§
Author information (from package.json, pyproject.toml, etc.)
repository: Option<String>Repository URL.
license: Option<String>License.
signed: boolWhether the package is signed.
checksum: Option<String>Checksum of the distribution (if from registry).
Trait Implementations§
Source§impl Clone for ProvenanceSurface
impl Clone for ProvenanceSurface
Source§fn clone(&self) -> ProvenanceSurface
fn clone(&self) -> ProvenanceSurface
Returns a duplicate of the value. Read more
1.0.0 · 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 ProvenanceSurface
impl Debug for ProvenanceSurface
Source§impl Default for ProvenanceSurface
impl Default for ProvenanceSurface
Source§fn default() -> ProvenanceSurface
fn default() -> ProvenanceSurface
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProvenanceSurface
impl<'de> Deserialize<'de> for ProvenanceSurface
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 ProvenanceSurface
impl RefUnwindSafe for ProvenanceSurface
impl Send for ProvenanceSurface
impl Sync for ProvenanceSurface
impl Unpin for ProvenanceSurface
impl UnsafeUnpin for ProvenanceSurface
impl UnwindSafe for ProvenanceSurface
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