#[repr(C)]pub struct llama_rs_chat_msg_oaicompat {
pub role: *mut c_char,
pub content: *mut c_char,
pub content_parts: *mut llama_rs_chat_msg_content_part_oaicompat,
pub content_parts_count: usize,
pub reasoning_content: *mut c_char,
pub tool_name: *mut c_char,
pub tool_call_id: *mut c_char,
pub tool_calls: *mut llama_rs_tool_call_oaicompat,
pub tool_calls_count: usize,
}Fields§
§role: *mut c_char§content: *mut c_char§content_parts: *mut llama_rs_chat_msg_content_part_oaicompat§content_parts_count: usize§reasoning_content: *mut c_char§tool_name: *mut c_char§tool_call_id: *mut c_char§tool_calls: *mut llama_rs_tool_call_oaicompat§tool_calls_count: usizeTrait Implementations§
Source§impl Clone for llama_rs_chat_msg_oaicompat
impl Clone for llama_rs_chat_msg_oaicompat
Source§fn clone(&self) -> llama_rs_chat_msg_oaicompat
fn clone(&self) -> llama_rs_chat_msg_oaicompat
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 llama_rs_chat_msg_oaicompat
impl Debug for llama_rs_chat_msg_oaicompat
impl Copy for llama_rs_chat_msg_oaicompat
impl StructuralPartialEq for llama_rs_chat_msg_oaicompat
Auto Trait Implementations§
impl Freeze for llama_rs_chat_msg_oaicompat
impl RefUnwindSafe for llama_rs_chat_msg_oaicompat
impl !Send for llama_rs_chat_msg_oaicompat
impl !Sync for llama_rs_chat_msg_oaicompat
impl Unpin for llama_rs_chat_msg_oaicompat
impl UnwindSafe for llama_rs_chat_msg_oaicompat
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