pub struct CreateNamespaceRegistryActionBuilder { /* private fields */ }Expand description
Builder used to create a CreateNamespaceRegistryAction
Implementations§
Source§impl CreateNamespaceRegistryActionBuilder
impl CreateNamespaceRegistryActionBuilder
pub fn new() -> Self
pub fn with_namespace( self, namespace: String, ) -> CreateNamespaceRegistryActionBuilder
pub fn with_owners( self, owners: Vec<String>, ) -> CreateNamespaceRegistryActionBuilder
pub fn build(self) -> Result<CreateNamespaceRegistryAction, ActionBuildError>
pub fn into_payload_builder( self, ) -> Result<SabrePayloadBuilder, ActionBuildError>
Trait Implementations§
Source§impl Clone for CreateNamespaceRegistryActionBuilder
impl Clone for CreateNamespaceRegistryActionBuilder
Source§fn clone(&self) -> CreateNamespaceRegistryActionBuilder
fn clone(&self) -> CreateNamespaceRegistryActionBuilder
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 moreSource§impl Default for CreateNamespaceRegistryActionBuilder
impl Default for CreateNamespaceRegistryActionBuilder
Source§fn default() -> CreateNamespaceRegistryActionBuilder
fn default() -> CreateNamespaceRegistryActionBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CreateNamespaceRegistryActionBuilder
impl RefUnwindSafe for CreateNamespaceRegistryActionBuilder
impl Send for CreateNamespaceRegistryActionBuilder
impl Sync for CreateNamespaceRegistryActionBuilder
impl Unpin for CreateNamespaceRegistryActionBuilder
impl UnwindSafe for CreateNamespaceRegistryActionBuilder
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<'a, T> DefaultFeatures<'a> for T
impl<'a, T> DefaultFeatures<'a> for T
Source§fn clone_boxed(&self) -> Box<dyn DefaultFeatures<'a>>
fn clone_boxed(&self) -> Box<dyn DefaultFeatures<'a>>
Clone this value, and then immediately put it into a
Box
behind a trait object of this trait.Source§impl<'a, T> NonSyncFeatures<'a> for Twhere
T: 'a + Clone,
impl<'a, T> NonSyncFeatures<'a> for Twhere
T: 'a + Clone,
Source§fn clone_boxed(&self) -> Box<dyn NonSyncFeatures<'a>>
fn clone_boxed(&self) -> Box<dyn NonSyncFeatures<'a>>
Clone this value, and then immediately put it into a
Box
behind a trait object of this trait.