pub struct DestructiveIntent {
pub reason: String,
pub actor: Option<String>,
pub dry_run: bool,
pub confirmed: bool,
}Fields§
§reason: String§actor: Option<String>§dry_run: bool§confirmed: boolTrait Implementations§
Source§impl Clone for DestructiveIntent
impl Clone for DestructiveIntent
Source§fn clone(&self) -> DestructiveIntent
fn clone(&self) -> DestructiveIntent
Returns a duplicate 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 DestructiveIntent
impl Debug for DestructiveIntent
Source§impl<'de> Deserialize<'de> for DestructiveIntent
impl<'de> Deserialize<'de> for DestructiveIntent
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 DestructiveIntent
impl PartialEq for DestructiveIntent
Source§impl Serialize for DestructiveIntent
impl Serialize for DestructiveIntent
impl Eq for DestructiveIntent
impl StructuralPartialEq for DestructiveIntent
Auto Trait Implementations§
impl Freeze for DestructiveIntent
impl RefUnwindSafe for DestructiveIntent
impl Send for DestructiveIntent
impl Sync for DestructiveIntent
impl Unpin for DestructiveIntent
impl UnsafeUnpin for DestructiveIntent
impl UnwindSafe for DestructiveIntent
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