#[derive(Clone, Debug, Default)]
#[repr(C)]
pub struct CreateAugroupOpts {
clear: types::Object,
}
impl CreateAugroupOpts {
#[inline(always)]
pub fn builder() -> CreateAugroupOptsBuilder {
CreateAugroupOptsBuilder::default()
}
}
#[derive(Clone, Default)]
pub struct CreateAugroupOptsBuilder(CreateAugroupOpts);
impl CreateAugroupOptsBuilder {
#[inline]
pub fn clear(&mut self, clear: bool) -> &mut Self {
self.0.clear = clear.into();
self
}
#[inline]
pub fn build(&mut self) -> CreateAugroupOpts {
std::mem::take(&mut self.0)
}
}