pub struct ModelClientConfig {
pub invocations_max_retries: Option<i64>,
pub invocations_timeout_in_seconds: Option<i64>,
}
Expand description
Configures the timeout and maximum number of retries for processing a transform job invocation.
Fields§
§invocations_max_retries: Option<i64>
The maximum number of retries when invocation requests are failing.
invocations_timeout_in_seconds: Option<i64>
The timeout value in seconds for an invocation request.
Trait Implementations§
Source§impl Clone for ModelClientConfig
impl Clone for ModelClientConfig
Source§fn clone(&self) -> ModelClientConfig
fn clone(&self) -> ModelClientConfig
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 Debug for ModelClientConfig
impl Debug for ModelClientConfig
Source§impl Default for ModelClientConfig
impl Default for ModelClientConfig
Source§fn default() -> ModelClientConfig
fn default() -> ModelClientConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ModelClientConfig
impl<'de> Deserialize<'de> for ModelClientConfig
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 PartialEq for ModelClientConfig
impl PartialEq for ModelClientConfig
Source§impl Serialize for ModelClientConfig
impl Serialize for ModelClientConfig
impl StructuralPartialEq for ModelClientConfig
Auto Trait Implementations§
impl Freeze for ModelClientConfig
impl RefUnwindSafe for ModelClientConfig
impl Send for ModelClientConfig
impl Sync for ModelClientConfig
impl Unpin for ModelClientConfig
impl UnwindSafe for ModelClientConfig
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