pub struct InstrumentManifest {Show 21 fields
pub format_version: String,
pub instrument_id: String,
pub release_id: String,
pub version: String,
pub name: String,
pub purpose: String,
pub content_category: ContentCategory,
pub prohibited_interpretation: String,
pub domain: String,
pub ontology_reference: String,
pub entry_point: String,
pub citation: String,
pub honesty_notice: String,
pub incomplete_input: String,
pub result_kind: String,
pub licence: String,
pub authored_by: String,
pub accessible_text: String,
pub visual_media_type: String,
pub content_digest: String,
pub extra: BTreeMap<String, Value>,
}Expand description
In-memory manifest. Extra keys are preserved (non-critical unknown fields).
Fields§
§format_version: String§instrument_id: String§release_id: String§version: String§name: String§purpose: String§content_category: ContentCategory§prohibited_interpretation: String§domain: String§ontology_reference: String§entry_point: String§citation: String§honesty_notice: String§incomplete_input: String§result_kind: String§licence: String§accessible_text: String§visual_media_type: String§content_digest: StringDigest of the HMC bytes excluding this field’s own value is computed after members are packed; stored here once known.
extra: BTreeMap<String, Value>Implementations§
Source§impl InstrumentManifest
impl InstrumentManifest
Sourcepub fn validate(&self) -> Result<(), InstrumentError>
pub fn validate(&self) -> Result<(), InstrumentError>
InstrumentManifest::validate.
Trait Implementations§
Source§impl Clone for InstrumentManifest
impl Clone for InstrumentManifest
Source§impl Debug for InstrumentManifest
impl Debug for InstrumentManifest
Source§impl<'de> Deserialize<'de> for InstrumentManifest
impl<'de> Deserialize<'de> for InstrumentManifest
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
Source§impl PartialEq for InstrumentManifest
impl PartialEq for InstrumentManifest
Source§impl Serialize for InstrumentManifest
impl Serialize for InstrumentManifest
impl StructuralPartialEq for InstrumentManifest
Auto Trait Implementations§
impl Freeze for InstrumentManifest
impl RefUnwindSafe for InstrumentManifest
impl Send for InstrumentManifest
impl Sync for InstrumentManifest
impl Unpin for InstrumentManifest
impl UnsafeUnpin for InstrumentManifest
impl UnwindSafe for InstrumentManifest
Blanket Implementations§
§impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
Aggregate shares in an MPC protocol.
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more