pub struct LogProps {
pub content: Option<Vec<LogPropsContent>>,
pub refusal: Option<Vec<LogPropsContent>>,
}Fields§
§content: Option<Vec<LogPropsContent>>A list of message content tokens with log probability information.
refusal: Option<Vec<LogPropsContent>>A list of message refusal tokens with log probability information.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for LogProps
impl<'de> Deserialize<'de> for LogProps
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for LogProps
Auto Trait Implementations§
impl Freeze for LogProps
impl RefUnwindSafe for LogProps
impl Send for LogProps
impl Sync for LogProps
impl Unpin for LogProps
impl UnwindSafe for LogProps
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