pub struct ContainerFileContent { /* private fields */ }Expand description
EN: Incremental container file content response. 中文:增量容器文件内容响应。
Implementations§
Source§impl ContainerFileContent
impl ContainerFileContent
Sourcepub fn request_id(&self) -> Option<&RequestId>
pub fn request_id(&self) -> Option<&RequestId>
EN: Returns the OpenAI request id, when present. 中文:返回 OpenAI 请求 ID,如存在。
Sourcepub fn into_stream(self) -> BodyStream
pub fn into_stream(self) -> BodyStream
EN: Consumes this response and returns the incremental content stream. 中文:消耗此响应并返回增量内容流。
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for ContainerFileContent
impl !Sync for ContainerFileContent
impl !UnwindSafe for ContainerFileContent
impl Freeze for ContainerFileContent
impl Send for ContainerFileContent
impl Unpin for ContainerFileContent
impl UnsafeUnpin for ContainerFileContent
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