pub struct DeleteOptions {
pub grace_period_seconds: Option<u64>,
pub preconditions: Vec<Preconditions>,
pub orphan_dependents: Option<bool>,
pub propagation_policy: Option<DeletionPropagation>,
}Fields§
§grace_period_seconds: Option<u64>§preconditions: Vec<Preconditions>§orphan_dependents: Option<bool>§propagation_policy: Option<DeletionPropagation>Trait Implementations§
Source§impl Clone for DeleteOptions
impl Clone for DeleteOptions
Source§fn clone(&self) -> DeleteOptions
fn clone(&self) -> DeleteOptions
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 DeleteOptions
impl Debug for DeleteOptions
Source§impl Default for DeleteOptions
impl Default for DeleteOptions
Source§fn default() -> DeleteOptions
fn default() -> DeleteOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DeleteOptionswhere
DeleteOptions: Default,
impl<'de> Deserialize<'de> for DeleteOptionswhere
DeleteOptions: Default,
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 DeleteOptions
impl PartialEq for DeleteOptions
Source§fn eq(&self, other: &DeleteOptions) -> bool
fn eq(&self, other: &DeleteOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DeleteOptions
impl Serialize for DeleteOptions
impl StructuralPartialEq for DeleteOptions
Auto Trait Implementations§
impl Freeze for DeleteOptions
impl RefUnwindSafe for DeleteOptions
impl Send for DeleteOptions
impl Sync for DeleteOptions
impl Unpin for DeleteOptions
impl UnsafeUnpin for DeleteOptions
impl UnwindSafe for DeleteOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more