pub struct ListRun {
pub object: String,
pub data: Vec<RunObject>,
pub first_id: String,
pub last_id: String,
pub has_more: bool,
pub headers: Option<HashMap<String, String>>,
}
Expand description
Represents a list of runs.
Fields§
§object: String
Object type, typically “list”.
data: Vec<RunObject>
List of run objects.
first_id: String
Identifier for the first run in the list.
last_id: String
Identifier for the last run in the list.
has_more: bool
Indicates if there are more runs available.
headers: Option<HashMap<String, String>>
Optional headers from the response.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ListRun
impl<'de> Deserialize<'de> for ListRun
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
Auto Trait Implementations§
impl Freeze for ListRun
impl RefUnwindSafe for ListRun
impl Send for ListRun
impl Sync for ListRun
impl Unpin for ListRun
impl UnwindSafe for ListRun
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