Skip to main content

nominal_api/conjure/objects/ingest/api/
ingest_run_response.rs

1#[derive(
2    Debug,
3    Clone,
4    conjure_object::serde::Serialize,
5    conjure_object::serde::Deserialize,
6    PartialEq,
7    Eq,
8    PartialOrd,
9    Ord,
10    Hash
11)]
12#[serde(crate = "conjure_object::serde")]
13#[conjure_object::private::staged_builder::staged_builder]
14#[builder(crate = conjure_object::private::staged_builder, update, inline)]
15pub struct IngestRunResponse {
16    #[serde(rename = "runRid")]
17    run_rid: super::super::super::scout::run::api::RunRid,
18}
19impl IngestRunResponse {
20    /// Constructs a new instance of the type.
21    #[inline]
22    pub fn new(run_rid: super::super::super::scout::run::api::RunRid) -> Self {
23        Self::builder().run_rid(run_rid).build()
24    }
25    #[inline]
26    pub fn run_rid(&self) -> &super::super::super::scout::run::api::RunRid {
27        &self.run_rid
28    }
29}