#[cfg(feature = "use_any")]
pub(crate) mod any {
use google_cloud_wkt::Any;
#[cfg(feature = "use_any")]
#[derive(Clone, Debug, Default, PartialEq)]
pub struct Details {
pub details: Vec<Any>,
}
impl Details {
pub fn is_empty(&self) -> bool {
return self.details.is_empty();
}
pub fn get(&self) -> &[Any] {
&self.details
}
}
}
#[cfg(not(feature = "use_any"))]
pub mod any {
#[derive(Clone, Copy, Debug, Default, Eq, PartialEq, Ord, PartialOrd, Hash)]
pub struct Details;
impl Details {
pub fn is_empty(&self) -> bool {
true
}
}
}