#[repr(C)]pub struct llama_chat_message {
pub role: *const c_char,
pub content: *const c_char,
}
Fields§
§role: *const c_char
§content: *const c_char
Trait Implementations§
Source§impl Clone for llama_chat_message
impl Clone for llama_chat_message
Source§fn clone(&self) -> llama_chat_message
fn clone(&self) -> llama_chat_message
Returns a copy 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_chat_message
impl Debug for llama_chat_message
Source§impl PartialEq for llama_chat_message
impl PartialEq for llama_chat_message
impl Copy for llama_chat_message
impl StructuralPartialEq for llama_chat_message
Auto Trait Implementations§
impl Freeze for llama_chat_message
impl RefUnwindSafe for llama_chat_message
impl !Send for llama_chat_message
impl !Sync for llama_chat_message
impl Unpin for llama_chat_message
impl UnwindSafe for llama_chat_message
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