[][src]Struct crev_data::id::PubId

pub struct PubId {
    pub id: Id,
    pub url: Url,
}

Fields

id: Idurl: Url

Methods

impl PubId[src]

pub fn new(id: Id, url: Url) -> Self[src]

pub fn new_from_pubkey(v: Vec<u8>, url: Url) -> Self[src]

pub fn new_crevid_from_base64(s: &str, url: Url) -> Result<Self>[src]

pub fn create_trust_proof<'a>(
    &self,
    ids: impl IntoIterator<Item = &'a PubId>,
    trust_level: TrustLevel
) -> Result<Trust>
[src]

pub fn create_package_review_proof(
    &self,
    package: PackageInfo,
    review: Review,
    comment: String
) -> Result<Package>
[src]

Trait Implementations

impl AsRef<PubId> for OwnId[src]

impl Clone for PubId[src]

impl Eq for PubId[src]

impl PartialEq<PubId> for PubId[src]

impl Debug for PubId[src]

impl Hash for PubId[src]

impl StructuralPartialEq for PubId[src]

impl StructuralEq for PubId[src]

impl Serialize for PubId[src]

impl<'de> Deserialize<'de> for PubId[src]

Auto Trait Implementations

impl Send for PubId

impl Sync for PubId

impl Unpin for PubId

impl UnwindSafe for PubId

impl RefUnwindSafe for PubId

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,