pub struct BatchJobIn {
pub input_files: Option<Option<Vec<Uuid>>>,
pub requests: Option<Option<Vec<BatchRequest>>>,
pub endpoint: ApiEndpoint,
pub model: Option<Option<String>>,
pub agent_id: Option<Option<String>>,
pub metadata: Option<Option<HashMap<String, String>>>,
pub timeout_hours: Option<i32>,
}Fields§
§input_files: Option<Option<Vec<Uuid>>>§requests: Option<Option<Vec<BatchRequest>>>§endpoint: ApiEndpointThe endpoint to be used for batch inference.
model: Option<Option<String>>§agent_id: Option<Option<String>>§metadata: Option<Option<HashMap<String, String>>>§timeout_hours: Option<i32>The timeout in hours for the batch inference job.
Implementations§
Source§impl BatchJobIn
impl BatchJobIn
pub fn new(endpoint: ApiEndpoint) -> BatchJobIn
Trait Implementations§
Source§impl Clone for BatchJobIn
impl Clone for BatchJobIn
Source§fn clone(&self) -> BatchJobIn
fn clone(&self) -> BatchJobIn
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 BatchJobIn
impl Debug for BatchJobIn
Source§impl Default for BatchJobIn
impl Default for BatchJobIn
Source§fn default() -> BatchJobIn
fn default() -> BatchJobIn
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BatchJobIn
impl<'de> Deserialize<'de> for BatchJobIn
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 BatchJobIn
impl PartialEq for BatchJobIn
Source§impl Serialize for BatchJobIn
impl Serialize for BatchJobIn
impl StructuralPartialEq for BatchJobIn
Auto Trait Implementations§
impl Freeze for BatchJobIn
impl RefUnwindSafe for BatchJobIn
impl Send for BatchJobIn
impl Sync for BatchJobIn
impl Unpin for BatchJobIn
impl UnsafeUnpin for BatchJobIn
impl UnwindSafe for BatchJobIn
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