Docs.rs
  • tc-value-0.13.1
    • tc-value 0.13.1
    • Permalink
    • Docs.rs crate page
    • Apache-2.0
    • Links
    • Repository
    • crates.io
    • Source
    • Owners
    • haydnv
    • Dependencies
      • async-hash ^0.5 normal
      • async-trait ^0.1 normal
      • base64 ^0.22 normal
      • bytes ^1.7 normal
      • collate ^0.4 normal
      • destream ^0.8 normal
      • email-address-parser ^2.0 normal
      • futures ^0.3 normal
      • get-size ^0.1 normal
      • get-size-derive ^0.1 normal
      • handlebars ^6.0 normal
      • hex ^0.4 normal
      • log ^0.4 normal
      • number-general ^0.12 normal
      • safecast ^0.2 normal
      • serde ^1.0 normal
      • serde_json ^1.0 normal
      • smallvec ^1.13 normal
      • tc-error ^0.12 normal
      • tcgeneric ^0.11 normal
      • uuid ^1.10 normal
    • Versions
    • 32.14% of the crate is documented
  • Platform
    • i686-pc-windows-msvc
    • i686-unknown-linux-gnu
    • x86_64-apple-darwin
    • x86_64-pc-windows-msvc
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

Crate tc_value

tc_value0.13.1

  • All Items

Crate Items

  • Re-exports
  • Modules
  • Structs
  • Enums
  • Constants
  • Traits

Crates

  • tc_value

Crate tc_value

Source
Expand description

A generic scalar Value enum which supports collation.

Re-exports§

pub extern crate uuid;

Modules§

link

Structs§

Boolean
A boolean value.
BooleanType
The type of a Boolean.
Host
The host component of a Link (e.g. “http://127.0.0.1:8702”)
Link
An HTTP Link with an optional Address and PathBuf
NumberCollator
Defines a collation order for Number.
StringCollator
A Collator for TCString values.
TCString
A TinyChain String
ValueCollator
Collate support for Value
ValueVisitor
A struct for deserializing a Value which implements destream::de::Visitor and serde::de::Visitor.
Version
A semantic version with a major, minor, and patch number, e.g. “0.1.12”

Enums§

Address
A network address
Complex
A complex number.
ComplexType
The type of a Complex number.
Float
A floating-point number.
FloatType
The type of a Float.
Int
A signed integer.
IntType
The type of an Int.
Number
A generic number.
NumberType
The type of a generic Number.
Protocol
The protocol portion of a Link (e.g. “http”)
ToUrl
An owned or borrowed Link or Path which can be parsed as a URL.
UInt
An unsigned integer.
UIntType
The type of a UInt.
Value
A generic value enum
ValueType
The class of a Value.

Constants§

PREFIX
The path prefix of a ValueType.

Traits§

DType
Define a NumberType for a non-Number type such as a Rust primitive.
FloatInstance
Defines common operations on floating-point numeric types.
NumberClass
Defines common properties of numeric types supported by Number.
NumberInstance
Defines common operations on numeric types supported by Number.
Trigonometry
Trigonometric functions.

Results

Settings
Help
No results :(
Try on DuckDuckGo?

Or try looking in one of these:
  • The Rust Reference for technical details about the language.
  • Rust By Example for expository code examples.
  • The Rust Book for introductions to language features and the language itself.
  • Docs.rs for documentation of crates released on crates.io.
No results :(
Try on DuckDuckGo?

Or try looking in one of these:
  • The Rust Reference for technical details about the language.
  • Rust By Example for expository code examples.
  • The Rust Book for introductions to language features and the language itself.
  • Docs.rs for documentation of crates released on crates.io.
    method
    tc_value::ValueVisitor::visit_none
    ValueVisitor -> Result<Visitor::Value, E>
    where
    E: Error
    method
    tc_value::ValueVisitor::visit_unit
    ValueVisitor -> Result<Visitor::Value, E>
    where
    E: Error
    method
    tc_value::ValueVisitor::visit_i8
    ValueVisitor, i8 -> Result<Visitor::Value, E>
    where
    E: Error
    method
    tc_value::ValueVisitor::visit_u8
    ValueVisitor, u8 -> Result<Visitor::Value, E>
    where
    E: Error
    method
    tc_value::ValueVisitor::visit_f32
    ValueVisitor, f32 -> Result<Visitor::Value, E>
    where
    E: Error
    method
    tc_value::ValueVisitor::visit_f64
    ValueVisitor, f64 -> Result<Visitor::Value, E>
    where
    E: Error
    method
    tc_value::ValueVisitor::visit_i16
    ValueVisitor, i16 -> Result<Visitor::Value, E>
    where
    E: Error
    method
    tc_value::ValueVisitor::visit_i32
    ValueVisitor, i32 -> Result<Visitor::Value, E>
    where
    E: Error
    method
    tc_value::ValueVisitor::visit_i64
    ValueVisitor, i64 -> Result<Visitor::Value, E>
    where
    E: Error
    method
    tc_value::ValueVisitor::visit_u16
    ValueVisitor, u16 -> Result<Visitor::Value, E>
    where
    E: Error
    method
    tc_value::ValueVisitor::visit_u32
    ValueVisitor, u32 -> Result<Visitor::Value, E>
    where
    E: Error
    method
    tc_value::ValueVisitor::visit_u64
    ValueVisitor, u64 -> Result<Visitor::Value, E>
    where
    E: Error
    method
    tc_value::ValueVisitor::visit_bool
    ValueVisitor, bool -> Result<Visitor::Value, E>
    where
    E: Error
    method
    tc_value::ValueVisitor::visit_string
    ValueVisitor, String -> Result<Visitor::Value, E>
    where
    E: Error
    method
    tc_value::ValueVisitor::fmt
    &, &mut Formatter -> Result<(), Error>
    method
    tc_value::ValueVisitor::visit_str
    ValueVisitor, &str -> Result<Visitor::Value, E>
    where
    E: Error
    method
    tc_value::ValueVisitor::visit_byte_buf
    ValueVisitor, Vec<u8> -> Result<Visitor::Value, E>
    where
    E: Error
    method
    tc_value::ValueVisitor::visit_borrowed_str
    ValueVisitor, &str -> Result<Visitor::Value, E>
    where
    E: Error
    method
    tc_value::ToUrl::fmt
    &ToUrl, &mut Formatter -> Result<(), Error>
    method
    tc_value::Protocol::fmt
    &Protocol, &mut Formatter -> Result<(), Error>
    method
    tc_value::Address::fmt
    &Address, &mut Formatter -> Result<(), Error>
    method
    tc_value::Host::fmt
    &Host, &mut Formatter -> Result<(), Error>
    method
    tc_value::Link::fmt
    &Link, &mut Formatter -> Result<(), Error>
    method
    tc_value::ComplexType::fmt
    &ComplexType, &mut Formatter -> Result<(), Error>
    method
    tc_value::BooleanType::fmt
    &BooleanType, &mut Formatter -> Result<(), Error>
    method
    tc_value::FloatType::fmt
    &FloatType, &mut Formatter -> Result<(), Error>
    method
    tc_value::IntType::fmt
    &IntType, &mut Formatter -> Result<(), Error>
    method
    tc_value::UIntType::fmt
    &UIntType, &mut Formatter -> Result<(), Error>
    method
    tc_value::NumberType::fmt
    &NumberType, &mut Formatter -> Result<(), Error>
    method
    tc_value::Boolean::fmt
    &Boolean, &mut Formatter -> Result<(), Error>
    method
    tc_value::Complex::fmt
    &Complex, &mut Formatter -> Result<(), Error>
    method
    tc_value::Float::fmt
    &Float, &mut Formatter -> Result<(), Error>
    method
    tc_value::Int::fmt
    &Int, &mut Formatter -> Result<(), Error>
    method
    tc_value::UInt::fmt
    &UInt, &mut Formatter -> Result<(), Error>
    method
    tc_value::Number::fmt
    &Number, &mut Formatter -> Result<(), Error>