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

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


id: Idurl: Url


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>(
    ids: impl IntoIterator<Item = &'a PubId>,
    trust_level: TrustLevel
) -> Result<Trust>

pub fn create_package_review_proof(
    package: PackageInfo,
    review: Review,
    comment: String
) -> Result<Package>

Trait Implementations

impl AsRef<PubId> for OwnId[src]

impl Clone for PubId[src]

impl Debug for PubId[src]

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

impl Eq for PubId[src]

impl Hash for PubId[src]

impl PartialEq<PubId> for PubId[src]

impl Serialize for PubId[src]

impl StructuralEq for PubId[src]

impl StructuralPartialEq for PubId[src]

Auto Trait Implementations

impl RefUnwindSafe for PubId

impl Send for PubId

impl Sync for PubId

impl Unpin for PubId

impl UnwindSafe for PubId

Blanket Implementations

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

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

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

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

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

The type returned in the event of a conversion error.

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