pub struct TargetList {
pub filter: Option<String>,
pub json: Option<bool>,
pub pagination_token: Option<String>,
pub token: Option<String>,
pub type: Option<Vec<String>>,
pub uid_token: Option<String>,
}Expand description
TargetList : targetList is a command that returns a list of targets
Fields§
§filter: Option<String>Filter by auth method name or part of it
json: Option<bool>Set output format to JSON
pagination_token: Option<String>Next page reference
token: Option<String>Authentication token (see /auth and /configure)
type: Option<Vec<String>>The target types list . In case it is empty, all types of targets will be returned. options: [hanadb cassandra aws ssh gke eks mysql mongodb snowflake mssql redshift artifactory azure rabbitmq k8s venafi gcp oracle dockerhub ldap github chef web salesforce postgres]
uid_token: Option<String>The universal identity token, Required only for universal_identity authentication
Implementations§
Source§impl TargetList
impl TargetList
Sourcepub fn new() -> TargetList
pub fn new() -> TargetList
targetList is a command that returns a list of targets
Trait Implementations§
Source§impl Clone for TargetList
impl Clone for TargetList
Source§fn clone(&self) -> TargetList
fn clone(&self) -> TargetList
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 TargetList
impl Debug for TargetList
Source§impl Default for TargetList
impl Default for TargetList
Source§fn default() -> TargetList
fn default() -> TargetList
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TargetList
impl<'de> Deserialize<'de> for TargetList
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 TargetList
impl PartialEq for TargetList
Source§fn eq(&self, other: &TargetList) -> bool
fn eq(&self, other: &TargetList) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TargetList
impl Serialize for TargetList
impl StructuralPartialEq for TargetList
Auto Trait Implementations§
impl Freeze for TargetList
impl RefUnwindSafe for TargetList
impl Send for TargetList
impl Sync for TargetList
impl Unpin for TargetList
impl UnsafeUnpin for TargetList
impl UnwindSafe for TargetList
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