pub struct AddressDirectoryOptsBuilder<'a> { /* private fields */ }
Expand description
Builder for AddressDirectoryOpts
.
Implementations§
Source§impl<'a> AddressDirectoryOptsBuilder<'a>
impl<'a> AddressDirectoryOptsBuilder<'a>
pub fn exclude<VALUE: Into<Vec<&'a str>>>(&mut self, value: VALUE) -> &mut Self
pub fn include<VALUE: Into<Vec<&'a str>>>(&mut self, value: VALUE) -> &mut Self
pub fn no_cache<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
Sourcepub fn build(
&self,
) -> Result<AddressDirectoryOpts<'a>, AddressDirectoryOptsBuilderError>
pub fn build( &self, ) -> Result<AddressDirectoryOpts<'a>, AddressDirectoryOptsBuilderError>
Trait Implementations§
Source§impl<'a> Clone for AddressDirectoryOptsBuilder<'a>
impl<'a> Clone for AddressDirectoryOptsBuilder<'a>
Source§fn clone(&self) -> AddressDirectoryOptsBuilder<'a>
fn clone(&self) -> AddressDirectoryOptsBuilder<'a>
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<'a> Freeze for AddressDirectoryOptsBuilder<'a>
impl<'a> RefUnwindSafe for AddressDirectoryOptsBuilder<'a>
impl<'a> Send for AddressDirectoryOptsBuilder<'a>
impl<'a> Sync for AddressDirectoryOptsBuilder<'a>
impl<'a> Unpin for AddressDirectoryOptsBuilder<'a>
impl<'a> UnwindSafe for AddressDirectoryOptsBuilder<'a>
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