#[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
pub struct DetectedSignature {
pub page: ::std::option::Option<i32>,
}
impl DetectedSignature {
pub fn page(&self) -> ::std::option::Option<i32> {
self.page
}
}
impl DetectedSignature {
pub fn builder() -> crate::types::builders::DetectedSignatureBuilder {
crate::types::builders::DetectedSignatureBuilder::default()
}
}
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
#[non_exhaustive]
pub struct DetectedSignatureBuilder {
pub(crate) page: ::std::option::Option<i32>,
}
impl DetectedSignatureBuilder {
pub fn page(mut self, input: i32) -> Self {
self.page = ::std::option::Option::Some(input);
self
}
pub fn set_page(mut self, input: ::std::option::Option<i32>) -> Self {
self.page = input;
self
}
pub fn get_page(&self) -> &::std::option::Option<i32> {
&self.page
}
pub fn build(self) -> crate::types::DetectedSignature {
crate::types::DetectedSignature { page: self.page }
}
}