pub struct ConversationRefusal { /* private fields */ }Expand description
Refused decision retaining the unchanged aggregate for continued use.
Implementations§
Source§impl ConversationRefusal
impl ConversationRefusal
Sourcepub const fn reason(&self) -> ConversationRefusalReason
pub const fn reason(&self) -> ConversationRefusalReason
Returns the stable refusal reason.
Sourcepub const fn into_conversation(self) -> ParticipantConversation
pub const fn into_conversation(self) -> ParticipantConversation
Recovers the unchanged pre-state.
Trait Implementations§
Source§impl Debug for ConversationRefusal
impl Debug for ConversationRefusal
impl Eq for ConversationRefusal
Source§impl PartialEq for ConversationRefusal
impl PartialEq for ConversationRefusal
impl StructuralPartialEq for ConversationRefusal
Auto Trait Implementations§
impl Freeze for ConversationRefusal
impl RefUnwindSafe for ConversationRefusal
impl Send for ConversationRefusal
impl Sync for ConversationRefusal
impl Unpin for ConversationRefusal
impl UnsafeUnpin for ConversationRefusal
impl UnwindSafe for ConversationRefusal
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