Enum wikidot_path::prelude::ArgumentValue [−][src]
Expand description
A type for possible values an argument key could have.
Those consuming values should attempt to be flexible when
accepting values. For instance a truthy key should accept
1
, true
, and Null
(as it indicates that they key is
present at all) as meaning “true”.
Variants
String(&'a str)
A string argument value.
Tuple Fields of String
0: &'a str
Integer(i32)
An integer argument value.
Tuple Fields of Integer
0: i32
Boolean(bool)
A boolean argument value.
Tuple Fields of Boolean
0: bool
No value explicitly passed for this argument.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<'a> RefUnwindSafe for ArgumentValue<'a>
impl<'a> Send for ArgumentValue<'a>
impl<'a> Sync for ArgumentValue<'a>
impl<'a> Unpin for ArgumentValue<'a>
impl<'a> UnwindSafe for ArgumentValue<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more