Struct drogue_client::meta::v1::NonScopedMetadata [−][src]
pub struct NonScopedMetadata {
pub name: String,
pub uid: String,
pub creation_timestamp: DateTime<Utc>,
pub generation: u64,
pub resource_version: String,
pub deletion_timestamp: Option<DateTime<Utc>>,
pub finalizers: Vec<String>,
pub labels: HashMap<String, String>,
pub annotations: HashMap<String, String>,
}
Expand description
Non-scoped metadata.
Fields
name: String
The unique name of this resource.
uid: String
creation_timestamp: DateTime<Utc>
The creation date of the resource.
generation: u64
A generation number, incrementing with each change.
This increment between different version may be one, or greater than one.
resource_version: String
deletion_timestamp: Option<DateTime<Utc>>
finalizers: Vec<String>
labels: HashMap<String, String>
annotations: HashMap<String, String>
Trait Implementations
ensures that the finalizer is set Read more
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for NonScopedMetadata
impl Send for NonScopedMetadata
impl Sync for NonScopedMetadata
impl Unpin for NonScopedMetadata
impl UnwindSafe for NonScopedMetadata
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more