Crate raystack_blocking[][src]

Modules

Structs

A Haystack Number, encapsulating a scalar value and an optional unit value. The unit is represented as a string. This does not represent Haystack scientific notation numbers.

A Haystack Coord, representing a geographical coordinate.

A Haystack Date with no time zone.

A Haystack DateTime.

A wrapper around a serde_json::Value which represents a Haystack Grid. Columns will always be sorted in alphabetical order.

A Haystack marker.

A Haystack NA (not available).

Error denoting that a JSON value could not be parsed into a Grid.

An error indicating that a Ref could not be parsed.

An error indicating that a TagName could not be parsed.

A Haystack Ref.

A Haystack remove marker.

A Haystack scientific notation Number, encapsulating a value and an optional unit value. The unit is represented as a string.

A client for interacting with a SkySpark server.

A Haystack Symbol.

A Haystack tag name.

A Haystack Time with no time zone.

A Haystack Uri.

A Haystack XStr.

Enums

Describes the kinds of errors that can occur in this crate.

Represents the different time range queries that can be sent as part of the hisRead Haystack operation.

Errors that can occur when creating a new SkySparkClient.

A Haystack number.

Traits

Something which can be converted to and from Hayson (the new JSON encoding used by Project Haystack).

An extension trait for the serde_json::Value enum, containing helper functions which make it easier to parse specific Haystack types from the underlying Hayson encoding (a JSON value in a specific format, see https://github.com/j2inn/hayson).

Functions

Return true if the string is a valid tag name.

A shortcut function to quickly create a SkySparkClient.

Converts a string containing a SkySpark time zone name into the matching Tz variant from the chrono_tz crate.