pub struct MessageContentRefusalObject {
pub type: String,
pub refusal: String,
}
Expand description
The refusal content generated by the assistant.
Fields§
§type: String
Always refusal
.
refusal: String
Trait Implementations§
Source§impl Clone for MessageContentRefusalObject
impl Clone for MessageContentRefusalObject
Source§fn clone(&self) -> MessageContentRefusalObject
fn clone(&self) -> MessageContentRefusalObject
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 MessageContentRefusalObject
impl Debug for MessageContentRefusalObject
Source§impl Default for MessageContentRefusalObject
impl Default for MessageContentRefusalObject
Source§fn default() -> MessageContentRefusalObject
fn default() -> MessageContentRefusalObject
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MessageContentRefusalObject
impl RefUnwindSafe for MessageContentRefusalObject
impl Send for MessageContentRefusalObject
impl Sync for MessageContentRefusalObject
impl Unpin for MessageContentRefusalObject
impl UnwindSafe for MessageContentRefusalObject
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