A time offset.
struct Time {
seconds: i64,
nanoseconds: i64,
}| Name | Description |
|---|---|
| seconds | The seconds part of the offset. |
| nanoseconds | The nanoseconds part of the offset. |
| Name | Description |
|---|---|
| days | Creates a |
| hours | Creates a |
| microseconds | Creates a |
| milliseconds | Creates a |
| minutes | Creates a |
| nanoseconds | Creates a |
| seconds | Creates a |
| Receiver | Name | Description |
|---|---|---|
self | normalize | Normalizes the time. |
| Name | Description |
|---|---|
| Add | Objects that implement the binary |
| Clone | Objects that can be duplicated. |
| Copy | Objects that can safely be copied via |
| Debug | Objects that can be formatted in a "debug" form. |
| Eq | Objects that implement the binary |
| MaybeClone | Objects that can be duplicated. |
| Ord | Objects that are part of a total order. |
| PartialOrd | Objects that implement the binary |
| Pod | Objects that are safe to use if they contain a random bit pattern. |
| Sub | Objects that implement the binary |
This can have various meanings such as the duration of a timeout parameter or the offset from the epoch when a file was created.