pub struct ResponseOutputRefusal {
pub refusal: String,
pub type_: String,
}Expand description
A refusal from the model.
Fields§
§refusal: StringThe refusal explanation from the model.
type_: StringThe type of the refusal. Always refusal.
Trait Implementations§
Source§impl Clone for ResponseOutputRefusal
impl Clone for ResponseOutputRefusal
Source§fn clone(&self) -> ResponseOutputRefusal
fn clone(&self) -> ResponseOutputRefusal
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ResponseOutputRefusal
impl Debug for ResponseOutputRefusal
Source§impl<'de> Deserialize<'de> for ResponseOutputRefusal
impl<'de> Deserialize<'de> for ResponseOutputRefusal
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
Auto Trait Implementations§
impl Freeze for ResponseOutputRefusal
impl RefUnwindSafe for ResponseOutputRefusal
impl Send for ResponseOutputRefusal
impl Sync for ResponseOutputRefusal
impl Unpin for ResponseOutputRefusal
impl UnsafeUnpin for ResponseOutputRefusal
impl UnwindSafe for ResponseOutputRefusal
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