Struct llama_cpp_sys_2::llama_chat_message
source · #[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_charTrait 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
source§fn eq(&self, other: &llama_chat_message) -> bool
fn eq(&self, other: &llama_chat_message) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for llama_chat_message
impl Eq for llama_chat_message
impl StructuralPartialEq for llama_chat_message
Auto Trait Implementations§
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