#[non_exhaustive]pub enum MessageState {
Submitted,
SubmissionTimestamped,
AntivirusRejected,
PlacedInRecipientBox,
DeliveredByFiction,
DeliveredByLogin,
Read,
Undeliverable,
Erased,
InDataVault,
Unknown(i32),
}Expand description
A message state returned by ISDS.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Submitted
Submitted (1).
SubmissionTimestamped
Submission timestamp assigned (2).
AntivirusRejected
Rejected by antivirus processing (3).
PlacedInRecipientBox
Placed in the recipient databox but not necessarily legally delivered (4).
DeliveredByFiction
Delivered by legal fiction (5).
DeliveredByLogin
Delivered by authorized login (6).
Read
Marked as read (7).
Undeliverable
Undeliverable (8).
Erased
Erased (9).
InDataVault
Stored in Datový trezor (10).
Unknown(i32)
A state introduced after this crate version.
Implementations§
Trait Implementations§
Source§impl Clone for MessageState
impl Clone for MessageState
impl Copy for MessageState
Source§impl Debug for MessageState
impl Debug for MessageState
impl Eq for MessageState
Source§impl Hash for MessageState
impl Hash for MessageState
Source§impl PartialEq for MessageState
impl PartialEq for MessageState
impl StructuralPartialEq for MessageState
Auto Trait Implementations§
impl Forget for MessageState
impl Freeze for MessageState
impl Move for MessageState
impl RefUnwindSafe for MessageState
impl Send for MessageState
impl Sync for MessageState
impl Unpin for MessageState
impl UnsafeUnpin for MessageState
impl UnwindSafe for MessageState
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