Struct move_package::source_package::parsed_manifest::PackageInfo
source · pub struct PackageInfo {
pub name: PackageName,
pub version: Version,
pub authors: Vec<Symbol>,
pub license: Option<Symbol>,
}
Fields§
§name: PackageName
§version: Version
§license: Option<Symbol>
Trait Implementations§
source§impl Clone for PackageInfo
impl Clone for PackageInfo
source§fn clone(&self) -> PackageInfo
fn clone(&self) -> PackageInfo
Returns a copy 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 PackageInfo
impl Debug for PackageInfo
source§impl PartialEq<PackageInfo> for PackageInfo
impl PartialEq<PackageInfo> for PackageInfo
source§fn eq(&self, other: &PackageInfo) -> bool
fn eq(&self, other: &PackageInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for PackageInfo
impl StructuralEq for PackageInfo
impl StructuralPartialEq for PackageInfo
Auto Trait Implementations§
impl RefUnwindSafe for PackageInfo
impl Send for PackageInfo
impl Sync for PackageInfo
impl Unpin for PackageInfo
impl UnwindSafe for PackageInfo
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.