pub struct BatchObject {Show 14 fields
pub id: String,
pub object: String,
pub endpoint: String,
pub input_file_id: String,
pub completion_window: String,
pub status: BatchStatus,
pub output_file_id: Option<String>,
pub error_file_id: Option<String>,
pub created_at: u64,
pub completed_at: Option<u64>,
pub failed_at: Option<u64>,
pub expired_at: Option<u64>,
pub request_counts: Option<BatchRequestCounts>,
pub metadata: Option<Value>,
}Fields§
§id: String§object: String§endpoint: String§input_file_id: String§completion_window: String§status: BatchStatus§output_file_id: Option<String>§error_file_id: Option<String>§created_at: u64§completed_at: Option<u64>§failed_at: Option<u64>§expired_at: Option<u64>§request_counts: Option<BatchRequestCounts>§metadata: Option<Value>Trait Implementations§
Source§impl Clone for BatchObject
impl Clone for BatchObject
Source§fn clone(&self) -> BatchObject
fn clone(&self) -> BatchObject
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 BatchObject
impl Debug for BatchObject
Source§impl Default for BatchObject
impl Default for BatchObject
Source§fn default() -> BatchObject
fn default() -> BatchObject
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BatchObject
impl<'de> Deserialize<'de> for BatchObject
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 BatchObject
impl PartialEq for BatchObject
Source§impl Serialize for BatchObject
impl Serialize for BatchObject
impl StructuralPartialEq for BatchObject
Auto Trait Implementations§
impl Freeze for BatchObject
impl RefUnwindSafe for BatchObject
impl Send for BatchObject
impl Sync for BatchObject
impl Unpin for BatchObject
impl UnsafeUnpin for BatchObject
impl UnwindSafe for BatchObject
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