Enum kube_client::api::PropagationPolicy
source · pub enum PropagationPolicy {
Orphan,
Background,
Foreground,
}
Available on crate feature
client
only.Expand description
Propagation policy when deleting single objects
Variants§
Orphan
Orphan dependents
Background
Allow the garbage collector to delete the dependents in the background
Foreground
A cascading policy that deletes all dependents in the foreground
Trait Implementations§
source§impl Clone for PropagationPolicy
impl Clone for PropagationPolicy
source§fn clone(&self) -> PropagationPolicy
fn clone(&self) -> PropagationPolicy
Returns a copy of the value. Read more
1.0.0 · 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 PropagationPolicy
impl Debug for PropagationPolicy
source§impl Serialize for PropagationPolicy
impl Serialize for PropagationPolicy
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,
Serialize this value into the given Serde serializer. Read more