pub struct BatchHandle {
pub id: String,
pub status: BatchStatus,
pub counts: BatchCounts,
pub created_at: Option<i64>,
pub expires_at: Option<i64>,
pub ended_at: Option<i64>,
pub endpoint: Option<String>,
}Expand description
A batch handle returned by create / retrieve / cancel.
Fields§
§id: String§status: BatchStatus§counts: BatchCounts§created_at: Option<i64>§expires_at: Option<i64>§ended_at: Option<i64>§endpoint: Option<String>Trait Implementations§
Source§impl Clone for BatchHandle
impl Clone for BatchHandle
Source§fn clone(&self) -> BatchHandle
fn clone(&self) -> BatchHandle
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BatchHandle
impl Debug for BatchHandle
Source§impl<'de> Deserialize<'de> for BatchHandle
impl<'de> Deserialize<'de> for BatchHandle
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 BatchHandle
impl PartialEq for BatchHandle
Source§impl Serialize for BatchHandle
impl Serialize for BatchHandle
impl StructuralPartialEq for BatchHandle
Auto Trait Implementations§
impl Freeze for BatchHandle
impl RefUnwindSafe for BatchHandle
impl Send for BatchHandle
impl Sync for BatchHandle
impl Unpin for BatchHandle
impl UnsafeUnpin for BatchHandle
impl UnwindSafe for BatchHandle
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