Struct core_traits::values::DB_IS_COMPONENT
[−]
pub struct DB_IS_COMPONENT { /* fields omitted */ }
Methods from __Deref<Target = Value>
pub fn to_pretty(&self, width: usize) -> Result<String, Error>
[src]
Return a pretty string representation of this Value
.
pub fn matches(&self, pattern: &Value) -> bool
[src]
Performs default pattern matching between this value and some pattern
.
Returns true if matching succeeds.
pub fn is_nil(&self) -> bool
[src]
pub fn is_boolean(&self) -> bool
[src]
pub fn is_integer(&self) -> bool
[src]
pub fn is_instant(&self) -> bool
[src]
pub fn is_big_integer(&self) -> bool
[src]
pub fn is_float(&self) -> bool
[src]
pub fn is_text(&self) -> bool
[src]
pub fn is_uuid(&self) -> bool
[src]
pub fn is_symbol(&self) -> bool
[src]
pub fn is_namespaced_symbol(&self) -> bool
[src]
pub fn is_vector(&self) -> bool
[src]
pub fn is_list(&self) -> bool
[src]
pub fn is_set(&self) -> bool
[src]
pub fn is_map(&self) -> bool
[src]
pub fn is_keyword(&self) -> bool
[src]
pub fn is_namespaced_keyword(&self) -> bool
[src]
pub fn as_nil(&self) -> Option<()>
[src]
as_nil
does not use the macro as it does not have an underlying
value, and returns Option<()>
.
pub fn as_boolean(&self) -> Option<bool>
[src]
pub fn as_integer(&self) -> Option<i64>
[src]
pub fn as_instant(&self) -> Option<DateTime<Utc>>
[src]
pub fn as_float(&self) -> Option<f64>
[src]
pub fn as_big_integer(&self) -> Option<&BigInt>
[src]
pub fn as_ordered_float(&self) -> Option<&OrderedFloat<f64>>
[src]
pub fn as_text(&self) -> Option<&String>
[src]
pub fn as_uuid(&self) -> Option<&Uuid>
[src]
pub fn as_symbol(&self) -> Option<&PlainSymbol>
[src]
pub fn as_namespaced_symbol(&self) -> Option<&NamespacedSymbol>
[src]
pub fn as_keyword(&self) -> Option<&Keyword>
[src]
pub fn as_plain_keyword(&self) -> Option<&Keyword>
[src]
pub fn as_namespaced_keyword(&self) -> Option<&Keyword>
[src]
pub fn as_vector(&self) -> Option<&Vec<Value>>
[src]
pub fn as_list(&self) -> Option<&LinkedList<Value>>
[src]
pub fn as_set(&self) -> Option<&BTreeSet<Value>>
[src]
pub fn as_map(&self) -> Option<&BTreeMap<Value, Value>>
[src]
pub fn is_collection(&self) -> bool
[src]
pub fn is_atom(&self) -> bool
[src]
Trait Implementations
impl __Deref for DB_IS_COMPONENT
type Target = Value
The resulting type after dereferencing.
fn deref(&self) -> &Value
Dereferences the value.