Expand description
A unique ID accompanied by publically identifying data.
Fields
id: Id
url: Option<Url>
Implementations
pub fn create_trust_proof<'a>(
&self,
ids: impl IntoIterator<Item = &'a PublicId>,
trust_level: TrustLevel
) -> Result<Trust, Error>
pub fn create_package_review_proof(
&self,
package: PackageInfo,
review: Review,
comment: String
) -> Result<Package, Error>
Trait Implementations
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 RefUnwindSafe for PublicId
impl UnwindSafe for PublicId
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.