Enum sieve::compiler::VariableType
source · pub enum VariableType {
Local(usize),
Match(usize),
Global(String),
Environment(String),
Envelope(Envelope),
Header(HeaderVariable),
Part(MessagePart),
}
Variants§
Local(usize)
Match(usize)
Global(String)
Environment(String)
Envelope(Envelope)
Header(HeaderVariable)
Part(MessagePart)
Trait Implementations§
source§impl Clone for VariableType
impl Clone for VariableType
source§fn clone(&self) -> VariableType
fn clone(&self) -> VariableType
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 VariableType
impl Debug for VariableType
source§impl<'de> Deserialize<'de> for VariableType
impl<'de> Deserialize<'de> for VariableType
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 VariableType
impl Display for VariableType
source§impl MapLocalVars for VariableType
impl MapLocalVars for VariableType
fn map_local_vars(&mut self, last_id: usize)
source§impl PartialEq for VariableType
impl PartialEq for VariableType
source§impl Serialize for VariableType
impl Serialize for VariableType
impl Eq for VariableType
impl StructuralPartialEq for VariableType
Auto Trait Implementations§
impl Freeze for VariableType
impl RefUnwindSafe for VariableType
impl Send for VariableType
impl Sync for VariableType
impl Unpin for VariableType
impl UnwindSafe for VariableType
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
)