nominal-api-conjure 0.1292.1

Conjure HTTP API bindings for the Nominal platform
Documentation
/// The outcome of attempting to cancel a single ingest job within a batch.
#[derive(
    Debug,
    Clone,
    conjure_object::serde::Serialize,
    conjure_object::serde::Deserialize,
    PartialEq,
    Eq,
    PartialOrd,
    Ord,
    Hash
)]
#[serde(crate = "conjure_object::serde")]
#[conjure_object::private::staged_builder::staged_builder]
#[builder(crate = conjure_object::private::staged_builder, update, inline)]
pub struct CancelIngestJobResult {
    #[serde(rename = "ingestJobRid")]
    ingest_job_rid: conjure_object::ResourceIdentifier,
    #[builder(custom(type = super::CancelIngestJobOutcome, convert = Box::new))]
    #[serde(rename = "outcome")]
    outcome: Box<super::CancelIngestJobOutcome>,
}
impl CancelIngestJobResult {
    /// Constructs a new instance of the type.
    #[inline]
    pub fn new(
        ingest_job_rid: conjure_object::ResourceIdentifier,
        outcome: super::CancelIngestJobOutcome,
    ) -> Self {
        Self::builder().ingest_job_rid(ingest_job_rid).outcome(outcome).build()
    }
    #[inline]
    pub fn ingest_job_rid(&self) -> &conjure_object::ResourceIdentifier {
        &self.ingest_job_rid
    }
    #[inline]
    pub fn outcome(&self) -> &super::CancelIngestJobOutcome {
        &*self.outcome
    }
}