pub struct AclAuthMethodListStubBuilder { /* private fields */ }
Expand description
Builder for AclAuthMethodListStub
.
Implementations§
Source§impl AclAuthMethodListStubBuilder
impl AclAuthMethodListStubBuilder
pub fn name(&mut self, value: String) -> &mut Self
pub fn type(&mut self, value: String) -> &mut Self
pub fn _default(&mut self, value: bool) -> &mut Self
pub fn create_index(&mut self, value: u64) -> &mut Self
pub fn modify_index(&mut self, value: u64) -> &mut Self
Sourcepub fn build(
&self,
) -> Result<AclAuthMethodListStub, AclAuthMethodListStubBuilderError>
pub fn build( &self, ) -> Result<AclAuthMethodListStub, AclAuthMethodListStubBuilderError>
Trait Implementations§
Source§impl Clone for AclAuthMethodListStubBuilder
impl Clone for AclAuthMethodListStubBuilder
Source§fn clone(&self) -> AclAuthMethodListStubBuilder
fn clone(&self) -> AclAuthMethodListStubBuilder
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for AclAuthMethodListStubBuilder
impl RefUnwindSafe for AclAuthMethodListStubBuilder
impl Send for AclAuthMethodListStubBuilder
impl Sync for AclAuthMethodListStubBuilder
impl Unpin for AclAuthMethodListStubBuilder
impl UnwindSafe for AclAuthMethodListStubBuilder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more