pub struct FetchProof {
pub schema: String,
pub schema_version: u32,
pub raw_igc_hash: String,
pub artifact_class: ArtifactClass,
pub requester_key: String,
pub seq_num: u64,
pub signature: String,
}Expand description
Signed fetch proof transmitted by a requester to authorize access to a restricted artifact. Corresponds to the wire JSON shape in §4.3.
Fields§
§schema: String§schema_version: u32§raw_igc_hash: String§artifact_class: ArtifactClass§requester_key: String§seq_num: u64§signature: StringTrait Implementations§
Source§impl Clone for FetchProof
impl Clone for FetchProof
Source§fn clone(&self) -> FetchProof
fn clone(&self) -> FetchProof
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 FetchProof
impl Debug for FetchProof
Source§impl<'de> Deserialize<'de> for FetchProof
impl<'de> Deserialize<'de> for FetchProof
Source§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 Freeze for FetchProof
impl RefUnwindSafe for FetchProof
impl Send for FetchProof
impl Sync for FetchProof
impl Unpin for FetchProof
impl UnsafeUnpin for FetchProof
impl UnwindSafe for FetchProof
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