#[non_exhaustive]pub struct DirectDeploySettingsBuilder { /* private fields */ }
Expand description
A builder for DirectDeploySettings
.
Implementations§
source§impl DirectDeploySettingsBuilder
impl DirectDeploySettingsBuilder
sourcepub fn status(self, input: FeatureStatus) -> Self
pub fn status(self, input: FeatureStatus) -> Self
Describes whether model deployment permissions are enabled or disabled in the Canvas application.
sourcepub fn set_status(self, input: Option<FeatureStatus>) -> Self
pub fn set_status(self, input: Option<FeatureStatus>) -> Self
Describes whether model deployment permissions are enabled or disabled in the Canvas application.
sourcepub fn get_status(&self) -> &Option<FeatureStatus>
pub fn get_status(&self) -> &Option<FeatureStatus>
Describes whether model deployment permissions are enabled or disabled in the Canvas application.
sourcepub fn build(self) -> DirectDeploySettings
pub fn build(self) -> DirectDeploySettings
Consumes the builder and constructs a DirectDeploySettings
.
Trait Implementations§
source§impl Clone for DirectDeploySettingsBuilder
impl Clone for DirectDeploySettingsBuilder
source§fn clone(&self) -> DirectDeploySettingsBuilder
fn clone(&self) -> DirectDeploySettingsBuilder
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 moresource§impl Debug for DirectDeploySettingsBuilder
impl Debug for DirectDeploySettingsBuilder
source§impl Default for DirectDeploySettingsBuilder
impl Default for DirectDeploySettingsBuilder
source§fn default() -> DirectDeploySettingsBuilder
fn default() -> DirectDeploySettingsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DirectDeploySettingsBuilder
impl PartialEq for DirectDeploySettingsBuilder
source§fn eq(&self, other: &DirectDeploySettingsBuilder) -> bool
fn eq(&self, other: &DirectDeploySettingsBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DirectDeploySettingsBuilder
Auto Trait Implementations§
impl RefUnwindSafe for DirectDeploySettingsBuilder
impl Send for DirectDeploySettingsBuilder
impl Sync for DirectDeploySettingsBuilder
impl Unpin for DirectDeploySettingsBuilder
impl UnwindSafe for DirectDeploySettingsBuilder
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> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.