pub struct GetTarget {
pub json: Option<bool>,
pub name: String,
pub show_versions: Option<bool>,
pub token: Option<String>,
pub uid_token: Option<String>,
}Expand description
GetTarget : getTarget is a command that returns target. [Deprecated: Use target-get command]
Fields§
§json: Option<bool>Set output format to JSON
name: StringTarget name
show_versions: Option<bool>Include all target versions in reply
token: Option<String>Authentication token (see /auth and /configure)
uid_token: Option<String>The universal identity token, Required only for universal_identity authentication
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GetTarget
impl<'de> Deserialize<'de> for GetTarget
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
impl StructuralPartialEq for GetTarget
Auto Trait Implementations§
impl Freeze for GetTarget
impl RefUnwindSafe for GetTarget
impl Send for GetTarget
impl Sync for GetTarget
impl Unpin for GetTarget
impl UnsafeUnpin for GetTarget
impl UnwindSafe for GetTarget
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