pub struct ManagedFieldsEntry {
pub api_version: Option<String>,
pub fields_type: Option<String>,
pub fields_v1: Option<Object>,
pub manager: Option<String>,
pub operation: Option<String>,
pub subresource: Option<String>,
pub time: Option<String>,
}Expand description
ManagedFieldsEntry is a workflow-id, a FieldSet and the group version of the resource that the fieldset applies to.
Fields§
§api_version: Option<String>APIVersion defines the version of this resource that this field set applies to. The format is "group/version" just like the top-level APIVersion field. It is necessary to track the version of a field set because it cannot be automatically converted.
fields_type: Option<String>FieldsType is the discriminator for the different fields format and version. There is currently only one possible value: "FieldsV1"
fields_v1: Option<Object>Each key is either a ‘.’ representing the field itself, and will always map to an empty set, or a string representing a sub-field or item. The string will follow one of these four formats: ‘f:
manager: Option<String>Manager is an identifier of the workflow managing these fields.
operation: Option<String>§subresource: Option<String>Subresource is the name of the subresource used to update that object, or empty string if the object was updated through the main resource. The value of this field is used to distinguish between managers, even if they share the same name. For example, a status update will be distinct from a regular update using the same manager name. Note that the APIVersion field is not related to the Subresource field and it always corresponds to the version of the main resource.
time: Option<String>Time is timestamp of when these fields were set. It should always be empty if Operation is ‘Apply’ +optional
Implementations§
Source§impl ManagedFieldsEntry
impl ManagedFieldsEntry
pub fn new() -> ManagedFieldsEntry
Trait Implementations§
Source§impl Clone for ManagedFieldsEntry
impl Clone for ManagedFieldsEntry
Source§fn clone(&self) -> ManagedFieldsEntry
fn clone(&self) -> ManagedFieldsEntry
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ManagedFieldsEntry
impl Debug for ManagedFieldsEntry
Source§impl<'de> Deserialize<'de> for ManagedFieldsEntry
impl<'de> Deserialize<'de> for ManagedFieldsEntry
Source§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>,
Source§impl FromStr for ManagedFieldsEntry
Converts Query Parameters representation (style=form, explode=false) to a ManagedFieldsEntry value
as specified in https://swagger.io/docs/specification/serialization/
Should be implemented in a serde deserializer
impl FromStr for ManagedFieldsEntry
Converts Query Parameters representation (style=form, explode=false) to a ManagedFieldsEntry value as specified in https://swagger.io/docs/specification/serialization/ Should be implemented in a serde deserializer
Source§impl PartialEq for ManagedFieldsEntry
impl PartialEq for ManagedFieldsEntry
Source§impl Serialize for ManagedFieldsEntry
impl Serialize for ManagedFieldsEntry
Source§impl ToString for ManagedFieldsEntry
Converts the ManagedFieldsEntry value to the Query Parameters representation (style=form, explode=false)
specified in https://swagger.io/docs/specification/serialization/
Should be implemented in a serde serializer
impl ToString for ManagedFieldsEntry
Converts the ManagedFieldsEntry value to the Query Parameters representation (style=form, explode=false) specified in https://swagger.io/docs/specification/serialization/ Should be implemented in a serde serializer