pub struct GetTargetDetails {
pub json: Option<bool>,
pub name: String,
pub show_versions: Option<bool>,
pub target_version: Option<i32>,
pub token: Option<String>,
pub uid_token: Option<String>,
}Expand description
GetTargetDetails : getTargetDetails is a command that returns target details. [Deprecated: Use target-get-details command]
Fields§
§json: Option<bool>Set output format to JSON
name: StringTarget name
show_versions: Option<bool>Include all target versions in reply
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 GetTargetDetails
impl GetTargetDetails
Sourcepub fn new(name: String) -> GetTargetDetails
pub fn new(name: String) -> GetTargetDetails
getTargetDetails is a command that returns target details. [Deprecated: Use target-get-details command]
Trait Implementations§
Source§impl Clone for GetTargetDetails
impl Clone for GetTargetDetails
Source§fn clone(&self) -> GetTargetDetails
fn clone(&self) -> GetTargetDetails
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 GetTargetDetails
impl Debug for GetTargetDetails
Source§impl Default for GetTargetDetails
impl Default for GetTargetDetails
Source§fn default() -> GetTargetDetails
fn default() -> GetTargetDetails
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetTargetDetails
impl<'de> Deserialize<'de> for GetTargetDetails
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 GetTargetDetails
impl PartialEq for GetTargetDetails
Source§fn eq(&self, other: &GetTargetDetails) -> bool
fn eq(&self, other: &GetTargetDetails) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for GetTargetDetails
impl Serialize for GetTargetDetails
impl StructuralPartialEq for GetTargetDetails
Auto Trait Implementations§
impl Freeze for GetTargetDetails
impl RefUnwindSafe for GetTargetDetails
impl Send for GetTargetDetails
impl Sync for GetTargetDetails
impl Unpin for GetTargetDetails
impl UnsafeUnpin for GetTargetDetails
impl UnwindSafe for GetTargetDetails
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