pub struct MessageDeltaContentRefusalObject {
pub index: i64,
pub type: String,
pub refusal: Option<String>,
}
Expand description
The refusal content that is part of a message.
Fields§
§index: i64
The index of the refusal part in the message.
type: String
Always refusal
.
refusal: Option<String>
Trait Implementations§
Source§impl Clone for MessageDeltaContentRefusalObject
impl Clone for MessageDeltaContentRefusalObject
Source§fn clone(&self) -> MessageDeltaContentRefusalObject
fn clone(&self) -> MessageDeltaContentRefusalObject
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 Default for MessageDeltaContentRefusalObject
impl Default for MessageDeltaContentRefusalObject
Source§fn default() -> MessageDeltaContentRefusalObject
fn default() -> MessageDeltaContentRefusalObject
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MessageDeltaContentRefusalObject
impl RefUnwindSafe for MessageDeltaContentRefusalObject
impl Send for MessageDeltaContentRefusalObject
impl Sync for MessageDeltaContentRefusalObject
impl Unpin for MessageDeltaContentRefusalObject
impl UnwindSafe for MessageDeltaContentRefusalObject
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