pub struct BatchInputData { /* private fields */ }Implementations§
Source§impl BatchInputData
impl BatchInputData
pub fn new(requests: Vec<GptBatchAPIRequest>) -> Self
pub fn requests(&self) -> &Vec<GptBatchAPIRequest>
pub fn request_ids(&self) -> Vec<CustomRequestId>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BatchInputData
impl RefUnwindSafe for BatchInputData
impl Send for BatchInputData
impl Sync for BatchInputData
impl Unpin for BatchInputData
impl UnwindSafe for BatchInputData
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