pub struct TargetDelete {
pub force_deletion: Option<bool>,
pub json: Option<bool>,
pub name: String,
pub target_version: Option<i32>,
pub token: Option<String>,
pub uid_token: Option<String>,
}Expand description
TargetDelete : targetDelete is a command that deletes a target
Fields§
§force_deletion: Option<bool>Enforce deletion
json: Option<bool>Set output format to JSON
name: StringTarget name
target_version: Option<i32>Target version
token: Option<String>Authentication token (see /auth and /configure)
uid_token: Option<String>The universal identity token, Required only for universal_identity authentication
Implementations§
Source§impl TargetDelete
impl TargetDelete
Sourcepub fn new(name: String) -> TargetDelete
pub fn new(name: String) -> TargetDelete
targetDelete is a command that deletes a target
Trait Implementations§
Source§impl Clone for TargetDelete
impl Clone for TargetDelete
Source§fn clone(&self) -> TargetDelete
fn clone(&self) -> TargetDelete
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 TargetDelete
impl Debug for TargetDelete
Source§impl Default for TargetDelete
impl Default for TargetDelete
Source§fn default() -> TargetDelete
fn default() -> TargetDelete
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TargetDelete
impl<'de> Deserialize<'de> for TargetDelete
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 TargetDelete
impl PartialEq for TargetDelete
Source§fn eq(&self, other: &TargetDelete) -> bool
fn eq(&self, other: &TargetDelete) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TargetDelete
impl Serialize for TargetDelete
impl StructuralPartialEq for TargetDelete
Auto Trait Implementations§
impl Freeze for TargetDelete
impl RefUnwindSafe for TargetDelete
impl Send for TargetDelete
impl Sync for TargetDelete
impl Unpin for TargetDelete
impl UnsafeUnpin for TargetDelete
impl UnwindSafe for TargetDelete
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