#[non_exhaustive]pub struct FasterDeploymentConfig {
pub fast_tryout_enabled: bool,
/* private fields */
}Expand description
Configuration for faster model deployment.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.fast_tryout_enabled: boolIf true, enable fast tryout feature for this deployed model.
Implementations§
Source§impl FasterDeploymentConfig
impl FasterDeploymentConfig
pub fn new() -> Self
Sourcepub fn set_fast_tryout_enabled<T: Into<bool>>(self, v: T) -> Self
pub fn set_fast_tryout_enabled<T: Into<bool>>(self, v: T) -> Self
Sets the value of fast_tryout_enabled.
Trait Implementations§
Source§impl Clone for FasterDeploymentConfig
impl Clone for FasterDeploymentConfig
Source§fn clone(&self) -> FasterDeploymentConfig
fn clone(&self) -> FasterDeploymentConfig
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 FasterDeploymentConfig
impl Debug for FasterDeploymentConfig
Source§impl Default for FasterDeploymentConfig
impl Default for FasterDeploymentConfig
Source§fn default() -> FasterDeploymentConfig
fn default() -> FasterDeploymentConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FasterDeploymentConfigwhere
FasterDeploymentConfig: Default,
impl<'de> Deserialize<'de> for FasterDeploymentConfigwhere
FasterDeploymentConfig: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Message for FasterDeploymentConfig
impl Message for FasterDeploymentConfig
Source§impl PartialEq for FasterDeploymentConfig
impl PartialEq for FasterDeploymentConfig
Source§impl Serialize for FasterDeploymentConfig
impl Serialize for FasterDeploymentConfig
impl StructuralPartialEq for FasterDeploymentConfig
Auto Trait Implementations§
impl Freeze for FasterDeploymentConfig
impl RefUnwindSafe for FasterDeploymentConfig
impl Send for FasterDeploymentConfig
impl Sync for FasterDeploymentConfig
impl Unpin for FasterDeploymentConfig
impl UnwindSafe for FasterDeploymentConfig
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