Struct shuttle_core::TimeBounds [] [src]

pub struct TimeBounds { /* fields omitted */ }

A time range for the validity of an operation.

Methods

impl TimeBounds
[src]

[src]

Create new time bounds for the validity of an operation.

If lower is not None, the operation will not be valid before the specified date. If upper is not None, the operation will not be valid after the specified date.

[src]

The lower time bound.

[src]

The upper time bound.

Trait Implementations

impl Debug for TimeBounds
[src]

[src]

Formats the value using the given formatter.

impl Clone for TimeBounds
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for TimeBounds
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Eq for TimeBounds
[src]

impl ToXdr<TimeBounds> for TimeBounds
[src]

[src]

Build the object that can be serialized to XDR.

[src]

Serialize to the writer w.

[src]

Serialize to base64.

impl<'de> FromXdr<'de, TimeBounds> for TimeBounds
[src]

[src]

Build the type from the XDR other object .

[src]

Deserialize from a reader r.

[src]

Deserialize from base64.