#[derive(
Debug,
Clone,
conjure_object::serde::Serialize,
conjure_object::serde::Deserialize,
PartialEq,
Eq,
PartialOrd,
Ord,
Hash,
Copy
)]
#[serde(crate = "conjure_object::serde")]
#[conjure_object::private::staged_builder::staged_builder]
#[builder(crate = conjure_object::private::staged_builder, update, inline)]
pub struct RequestInProgress {
#[serde(rename = "readRows")]
read_rows: conjure_object::SafeLong,
#[serde(rename = "totalRowsApprox")]
total_rows_approx: conjure_object::SafeLong,
}
impl RequestInProgress {
#[inline]
pub fn new(
read_rows: conjure_object::SafeLong,
total_rows_approx: conjure_object::SafeLong,
) -> Self {
Self::builder().read_rows(read_rows).total_rows_approx(total_rows_approx).build()
}
#[inline]
pub fn read_rows(&self) -> conjure_object::SafeLong {
self.read_rows
}
#[inline]
pub fn total_rows_approx(&self) -> conjure_object::SafeLong {
self.total_rows_approx
}
}