pub struct OutputRefusal {
pub output_type: String,
pub refusal: String,
}Expand description
Refusal output from the model.
Fields§
§output_type: StringThe type of the output. Always refusal.
refusal: StringThe reason for the refusal.
Trait Implementations§
Source§impl Clone for OutputRefusal
impl Clone for OutputRefusal
Source§fn clone(&self) -> OutputRefusal
fn clone(&self) -> OutputRefusal
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 OutputRefusal
impl Debug for OutputRefusal
Source§impl Default for OutputRefusal
impl Default for OutputRefusal
Source§fn default() -> OutputRefusal
fn default() -> OutputRefusal
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OutputRefusal
impl<'de> Deserialize<'de> for OutputRefusal
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
Source§impl PartialEq for OutputRefusal
impl PartialEq for OutputRefusal
Source§impl Serialize for OutputRefusal
impl Serialize for OutputRefusal
impl StructuralPartialEq for OutputRefusal
Auto Trait Implementations§
impl Freeze for OutputRefusal
impl RefUnwindSafe for OutputRefusal
impl Send for OutputRefusal
impl Sync for OutputRefusal
impl Unpin for OutputRefusal
impl UnwindSafe for OutputRefusal
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