pub struct MessageDeltaContentRefusalObject {
pub index: i32,
pub refusal: Option<String>,
}
Fields§
§index: i32
The index of the refusal part in the message.
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 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<'de> Deserialize<'de> for MessageDeltaContentRefusalObject
impl<'de> Deserialize<'de> for MessageDeltaContentRefusalObject
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 MessageDeltaContentRefusalObject
impl PartialEq for MessageDeltaContentRefusalObject
Source§fn eq(&self, other: &MessageDeltaContentRefusalObject) -> bool
fn eq(&self, other: &MessageDeltaContentRefusalObject) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for MessageDeltaContentRefusalObject
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