pub struct PublicResourceProjection { /* private fields */ }Expand description
Privacy-minimized namespace/public-PDS projection. It contains no detailed attestation CID, payer, issuer, unit, amount, transfer ID, capability root, or signing-key coordinates.
Implementations§
Source§impl PublicResourceProjection
impl PublicResourceProjection
pub const fn resource_id(&self) -> ResourceId
pub const fn resource_version(&self) -> u64
pub fn manifest_cid(&self) -> &Cid
pub fn content_cid(&self) -> Option<&Cid>
pub fn public_evidence_commitment(&self) -> &PublicEvidenceCommitment
Trait Implementations§
Source§impl Clone for PublicResourceProjection
impl Clone for PublicResourceProjection
Source§fn clone(&self) -> PublicResourceProjection
fn clone(&self) -> PublicResourceProjection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PublicResourceProjection
impl Debug for PublicResourceProjection
Source§impl PartialEq for PublicResourceProjection
impl PartialEq for PublicResourceProjection
Source§fn eq(&self, other: &PublicResourceProjection) -> bool
fn eq(&self, other: &PublicResourceProjection) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for PublicResourceProjection
impl StructuralPartialEq for PublicResourceProjection
Auto Trait Implementations§
impl Freeze for PublicResourceProjection
impl RefUnwindSafe for PublicResourceProjection
impl Send for PublicResourceProjection
impl Sync for PublicResourceProjection
impl Unpin for PublicResourceProjection
impl UnsafeUnpin for PublicResourceProjection
impl UnwindSafe for PublicResourceProjection
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