-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
Description
k8s-pb/k8s-pb-codegen/out/apimachinery.pkg.apis.meta.v1.rs
Lines 1031 to 1051 in 7b4bf26
/// Time is a wrapper around time.Time which supports correct | |
/// marshaling to YAML and JSON. Wrappers are provided for many | |
/// of the factory methods that the time package offers. | |
/// | |
/// +protobuf.options.marshal=false | |
/// +protobuf.as=Timestamp | |
/// +protobuf.options.(gogoproto.goproto_stringer)=false | |
#[derive(Clone, PartialEq, ::prost::Message)] | |
pub struct Time { | |
/// Represents seconds of UTC time since Unix epoch | |
/// 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to | |
/// 9999-12-31T23:59:59Z inclusive. | |
#[prost(int64, optional, tag="1")] | |
pub seconds: ::core::option::Option<i64>, | |
/// Non-negative fractions of a second at nanosecond resolution. Negative | |
/// second values with fractions must still have non-negative nanos values | |
/// that count forward in time. Must be from 0 to 999,999,999 | |
/// inclusive. This field may be limited in precision depending on context. | |
#[prost(int32, optional, tag="2")] | |
pub nanos: ::core::option::Option<i32>, | |
} |
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Backlog