pub struct TargetCreateLinked {
pub description: Option<String>,
pub hosts: Option<String>,
pub json: Option<bool>,
pub name: String,
pub parent_target_name: Option<String>,
pub token: Option<String>,
pub type: Option<String>,
pub uid_token: Option<String>,
}Fields§
§description: Option<String>Description of the object
hosts: Option<String>A comma seperated list of server hosts and server descriptions joined by semicolon ‘;’ (i.e. ‘server-dev.com;My Dev server,server-prod.com;My Prod server description’)
json: Option<bool>Set output format to JSON
name: StringTarget name
parent_target_name: Option<String>The parent Target name
token: Option<String>Authentication token (see /auth and /configure)
type: Option<String>Specifies the hosts type, relevant only when working without parent target
uid_token: Option<String>The universal identity token, Required only for universal_identity authentication
Implementations§
Source§impl TargetCreateLinked
impl TargetCreateLinked
pub fn new(name: String) -> TargetCreateLinked
Trait Implementations§
Source§impl Clone for TargetCreateLinked
impl Clone for TargetCreateLinked
Source§fn clone(&self) -> TargetCreateLinked
fn clone(&self) -> TargetCreateLinked
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 TargetCreateLinked
impl Debug for TargetCreateLinked
Source§impl Default for TargetCreateLinked
impl Default for TargetCreateLinked
Source§fn default() -> TargetCreateLinked
fn default() -> TargetCreateLinked
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TargetCreateLinked
impl<'de> Deserialize<'de> for TargetCreateLinked
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 TargetCreateLinked
impl PartialEq for TargetCreateLinked
Source§fn eq(&self, other: &TargetCreateLinked) -> bool
fn eq(&self, other: &TargetCreateLinked) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TargetCreateLinked
impl Serialize for TargetCreateLinked
impl StructuralPartialEq for TargetCreateLinked
Auto Trait Implementations§
impl Freeze for TargetCreateLinked
impl RefUnwindSafe for TargetCreateLinked
impl Send for TargetCreateLinked
impl Sync for TargetCreateLinked
impl Unpin for TargetCreateLinked
impl UnsafeUnpin for TargetCreateLinked
impl UnwindSafe for TargetCreateLinked
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