Enum sieve::compiler::grammar::Capability
source · pub enum Capability {
Show 47 variants
Envelope,
EnvelopeDsn,
EnvelopeDeliverBy,
FileInto,
EncodedCharacter,
Comparator(Comparator),
Other(String),
Body,
Convert,
Copy,
Relational,
Date,
Index,
Duplicate,
Variables,
EditHeader,
ForEveryPart,
Mime,
Replace,
Enclose,
ExtractText,
Enotify,
RedirectDsn,
RedirectDeliverBy,
Environment,
Reject,
Ereject,
ExtLists,
SubAddress,
Vacation,
VacationSeconds,
Fcc,
Mailbox,
MailboxId,
MboxMetadata,
ServerMetadata,
SpecialUse,
Imap4Flags,
Ihave,
ImapSieve,
Include,
Regex,
SpamTest,
SpamTestPlus,
VirusTest,
Expressions,
While,
}
Variants§
Envelope
EnvelopeDsn
EnvelopeDeliverBy
FileInto
EncodedCharacter
Comparator(Comparator)
Other(String)
Body
Convert
Copy
Relational
Date
Index
Duplicate
Variables
EditHeader
ForEveryPart
Mime
Replace
Enclose
ExtractText
Enotify
RedirectDsn
RedirectDeliverBy
Environment
Reject
Ereject
ExtLists
SubAddress
Vacation
VacationSeconds
Fcc
Mailbox
MailboxId
MboxMetadata
ServerMetadata
SpecialUse
Imap4Flags
Ihave
ImapSieve
Include
Regex
SpamTest
SpamTestPlus
VirusTest
Expressions
While
Implementations§
source§impl Capability
impl Capability
pub fn parse(capability: &str) -> Capability
pub fn all() -> &'static [Capability]
Trait Implementations§
source§impl Clone for Capability
impl Clone for Capability
source§fn clone(&self) -> Capability
fn clone(&self) -> Capability
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 Debug for Capability
impl Debug for Capability
source§impl<'de> Deserialize<'de> for Capability
impl<'de> Deserialize<'de> for Capability
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 Display for Capability
impl Display for Capability
source§impl From<&str> for Capability
impl From<&str> for Capability
source§impl From<String> for Capability
impl From<String> for Capability
source§impl Hash for Capability
impl Hash for Capability
source§impl PartialEq for Capability
impl PartialEq for Capability
source§impl Serialize for Capability
impl Serialize for Capability
impl Eq for Capability
impl StructuralPartialEq for Capability
Auto Trait Implementations§
impl Freeze for Capability
impl RefUnwindSafe for Capability
impl Send for Capability
impl Sync for Capability
impl Unpin for Capability
impl UnwindSafe for Capability
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)