pub struct NamespaceBuilder { /* private fields */ }
Expand description
Builder for Namespace
.
Implementations§
Source§impl NamespaceBuilder
impl NamespaceBuilder
pub fn meta(&mut self, value: HashMap<String, String>) -> &mut Self
pub fn modify_index(&mut self, value: u64) -> &mut Self
pub fn capabilities( &mut self, value: Option<NamespaceCapabilities>, ) -> &mut Self
pub fn node_pool_configuration( &mut self, value: Option<NamespaceNodePoolConfiguration>, ) -> &mut Self
pub fn vault_configuration( &mut self, value: Option<NamespaceVaultConfiguration>, ) -> &mut Self
pub fn consul_configuration( &mut self, value: Option<NamespaceConsulConfiguration>, ) -> &mut Self
pub fn name(&mut self, value: String) -> &mut Self
pub fn description(&mut self, value: String) -> &mut Self
pub fn quota(&mut self, value: String) -> &mut Self
pub fn create_index(&mut self, value: u64) -> &mut Self
Trait Implementations§
Source§impl Clone for NamespaceBuilder
impl Clone for NamespaceBuilder
Source§fn clone(&self) -> NamespaceBuilder
fn clone(&self) -> NamespaceBuilder
Returns a copy 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 NamespaceBuilder
impl RefUnwindSafe for NamespaceBuilder
impl Send for NamespaceBuilder
impl Sync for NamespaceBuilder
impl Unpin for NamespaceBuilder
impl UnwindSafe for NamespaceBuilder
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