pub struct TargetGet {
pub json: Option<bool>,
pub name: String,
pub show_versions: Option<bool>,
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
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 TargetGet
impl<'de> Deserialize<'de> for TargetGet
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 TargetGet
Auto Trait Implementations§
impl Freeze for TargetGet
impl RefUnwindSafe for TargetGet
impl Send for TargetGet
impl Sync for TargetGet
impl Unpin for TargetGet
impl UnsafeUnpin for TargetGet
impl UnwindSafe for TargetGet
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