pub struct TargetGetDetails {
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>,
}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 TargetGetDetails
impl TargetGetDetails
pub fn new(name: String) -> TargetGetDetails
Trait Implementations§
Source§impl Clone for TargetGetDetails
impl Clone for TargetGetDetails
Source§fn clone(&self) -> TargetGetDetails
fn clone(&self) -> TargetGetDetails
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 TargetGetDetails
impl Debug for TargetGetDetails
Source§impl Default for TargetGetDetails
impl Default for TargetGetDetails
Source§fn default() -> TargetGetDetails
fn default() -> TargetGetDetails
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TargetGetDetails
impl<'de> Deserialize<'de> for TargetGetDetails
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 TargetGetDetails
impl PartialEq for TargetGetDetails
Source§fn eq(&self, other: &TargetGetDetails) -> bool
fn eq(&self, other: &TargetGetDetails) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TargetGetDetails
impl Serialize for TargetGetDetails
impl StructuralPartialEq for TargetGetDetails
Auto Trait Implementations§
impl Freeze for TargetGetDetails
impl RefUnwindSafe for TargetGetDetails
impl Send for TargetGetDetails
impl Sync for TargetGetDetails
impl Unpin for TargetGetDetails
impl UnsafeUnpin for TargetGetDetails
impl UnwindSafe for TargetGetDetails
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