pub struct AppliedResource {
pub message: Option<String>,
pub resource: Option<String>,
pub status: Option<String>,
}Fields§
§message: Option<String>Message is the engine’s own sentence about this object — the apiserver’s refusal on a failure, and typically empty on success. It is for a human reading a failed run, not a value to branch on.
resource: Option<String>Resource identifies the object as group/version/kind/namespace/name, the engine’s own key. It is stable across runs, so two reports can be diffed on it.
status: Option<String>Status is what happened to this object, from the engine’s closed vocabulary: Synced (applied), Pruned (deleted because the source no longer declares it), SyncFailed (refused — read Message) and PruneSkipped (deletion was declined). It is the per-object detail behind the report’s counts.
Implementations§
Source§impl AppliedResource
impl AppliedResource
pub fn new() -> AppliedResource
Trait Implementations§
Source§impl Clone for AppliedResource
impl Clone for AppliedResource
Source§fn clone(&self) -> AppliedResource
fn clone(&self) -> AppliedResource
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AppliedResource
impl Debug for AppliedResource
Source§impl Default for AppliedResource
impl Default for AppliedResource
Source§fn default() -> AppliedResource
fn default() -> AppliedResource
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AppliedResource
impl<'de> Deserialize<'de> for AppliedResource
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for AppliedResource
impl PartialEq for AppliedResource
Source§impl Serialize for AppliedResource
impl Serialize for AppliedResource
impl StructuralPartialEq for AppliedResource
Auto Trait Implementations§
impl Freeze for AppliedResource
impl RefUnwindSafe for AppliedResource
impl Send for AppliedResource
impl Sync for AppliedResource
impl Unpin for AppliedResource
impl UnsafeUnpin for AppliedResource
impl UnwindSafe for AppliedResource
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more