pub enum ReportResult {
ChooseOption(ReportResultChooseOption),
AddComment(ReportResultAddComment),
Reported,
}Expand description
Variants§
Trait Implementations§
Source§impl Clone for ReportResult
impl Clone for ReportResult
Source§fn clone(&self) -> ReportResult
fn clone(&self) -> ReportResult
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 ReportResult
impl Debug for ReportResult
Source§impl Deserializable for ReportResult
impl Deserializable for ReportResult
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl From<ReportResultAddComment> for ReportResult
impl From<ReportResultAddComment> for ReportResult
Source§fn from(x: ReportResultAddComment) -> Self
fn from(x: ReportResultAddComment) -> Self
Converts to this type from the input type.
Source§impl From<ReportResultChooseOption> for ReportResult
impl From<ReportResultChooseOption> for ReportResult
Source§fn from(x: ReportResultChooseOption) -> Self
fn from(x: ReportResultChooseOption) -> Self
Converts to this type from the input type.
Source§impl From<ReportResultReported> for ReportResult
impl From<ReportResultReported> for ReportResult
Source§fn from(_x: ReportResultReported) -> Self
fn from(_x: ReportResultReported) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ReportResult
impl PartialEq for ReportResult
Source§impl Serializable for ReportResult
impl Serializable for ReportResult
Source§impl TryFrom<ReportResult> for ReportResultAddComment
impl TryFrom<ReportResult> for ReportResultAddComment
Source§type Error = ReportResult
type Error = ReportResult
The type returned in the event of a conversion error.
Source§impl TryFrom<ReportResult> for ReportResultChooseOption
impl TryFrom<ReportResult> for ReportResultChooseOption
Source§type Error = ReportResult
type Error = ReportResult
The type returned in the event of a conversion error.
impl StructuralPartialEq for ReportResult
Auto Trait Implementations§
impl Freeze for ReportResult
impl RefUnwindSafe for ReportResult
impl Send for ReportResult
impl Sync for ReportResult
impl Unpin for ReportResult
impl UnsafeUnpin for ReportResult
impl UnwindSafe for ReportResult
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