pub struct ResponseOutputRefusal {
pub refusal: String,
pub extra: BTreeMap<String, Value>,
}Expand description
表示拒绝回答片段。
Fields§
§refusal: String拒绝原因。
extra: BTreeMap<String, Value>额外字段。
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 · 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 Default for ResponseOutputRefusal
impl Default for ResponseOutputRefusal
Source§fn default() -> ResponseOutputRefusal
fn default() -> ResponseOutputRefusal
Returns the “default value” for a type. Read more
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