pub struct OutputOrService {
pub id: String,
pub project_id: String,
pub contributor_did: String,
pub activity_ids: Vec<String>,
pub artifact_uri: String,
pub non_monetary_badges: Vec<String>,
pub provenance_attestation_id: Option<String>,
pub produced_at_unix: u32,
}Expand description
Stage 3 — Output or Service produced by activity.
Fields§
§id: String§project_id: String§contributor_did: String§activity_ids: Vec<String>§artifact_uri: String§non_monetary_badges: Vec<String>§provenance_attestation_id: Option<String>§produced_at_unix: u32Implementations§
Source§impl OutputOrService
impl OutputOrService
Sourcepub fn compile_to_quins(&self, out: &mut [NQuin]) -> usize
pub fn compile_to_quins(&self, out: &mut [NQuin]) -> usize
Zero-heap compilation into 48-byte NQuins.
Trait Implementations§
Source§impl Clone for OutputOrService
impl Clone for OutputOrService
Source§impl Debug for OutputOrService
impl Debug for OutputOrService
Source§impl<'de> Deserialize<'de> for OutputOrService
impl<'de> Deserialize<'de> for OutputOrService
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
impl Eq for OutputOrService
Source§impl PartialEq for OutputOrService
impl PartialEq for OutputOrService
Source§impl Serialize for OutputOrService
impl Serialize for OutputOrService
impl StructuralPartialEq for OutputOrService
Auto Trait Implementations§
impl Freeze for OutputOrService
impl RefUnwindSafe for OutputOrService
impl Send for OutputOrService
impl Sync for OutputOrService
impl Unpin for OutputOrService
impl UnsafeUnpin for OutputOrService
impl UnwindSafe for OutputOrService
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