pub struct DeleteTargetAssociation {
pub assoc_id: Option<String>,
pub json: Option<bool>,
pub name: String,
pub target_name: Option<String>,
pub token: Option<String>,
pub uid_token: Option<String>,
}Expand description
DeleteTargetAssociation : deleteTargetAssociation is a command that deletes an association between target and item.
Fields§
§assoc_id: Option<String>The association id to be deleted
json: Option<bool>Set output format to JSON
name: StringItem name
target_name: Option<String>The target to associate
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 DeleteTargetAssociation
impl DeleteTargetAssociation
Sourcepub fn new(name: String) -> DeleteTargetAssociation
pub fn new(name: String) -> DeleteTargetAssociation
deleteTargetAssociation is a command that deletes an association between target and item.
Trait Implementations§
Source§impl Clone for DeleteTargetAssociation
impl Clone for DeleteTargetAssociation
Source§fn clone(&self) -> DeleteTargetAssociation
fn clone(&self) -> DeleteTargetAssociation
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 DeleteTargetAssociation
impl Debug for DeleteTargetAssociation
Source§impl Default for DeleteTargetAssociation
impl Default for DeleteTargetAssociation
Source§fn default() -> DeleteTargetAssociation
fn default() -> DeleteTargetAssociation
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DeleteTargetAssociation
impl<'de> Deserialize<'de> for DeleteTargetAssociation
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 DeleteTargetAssociation
impl PartialEq for DeleteTargetAssociation
Source§fn eq(&self, other: &DeleteTargetAssociation) -> bool
fn eq(&self, other: &DeleteTargetAssociation) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DeleteTargetAssociation
impl Serialize for DeleteTargetAssociation
impl StructuralPartialEq for DeleteTargetAssociation
Auto Trait Implementations§
impl Freeze for DeleteTargetAssociation
impl RefUnwindSafe for DeleteTargetAssociation
impl Send for DeleteTargetAssociation
impl Sync for DeleteTargetAssociation
impl Unpin for DeleteTargetAssociation
impl UnsafeUnpin for DeleteTargetAssociation
impl UnwindSafe for DeleteTargetAssociation
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