pub struct DescribeItem {Show 13 fields
pub accessibility: Option<String>,
pub bastion_details: Option<bool>,
pub der_certificate_format: Option<bool>,
pub display_id: Option<String>,
pub gateway_details: Option<bool>,
pub item_custom_fields_details: Option<bool>,
pub item_id: Option<i64>,
pub json: Option<bool>,
pub name: String,
pub services_details: Option<bool>,
pub show_versions: Option<bool>,
pub token: Option<String>,
pub uid_token: Option<String>,
}Fields§
§accessibility: Option<String>for personal password manager
bastion_details: Option<bool>Indicate if the item should return with ztb cluster details (url, etc)
der_certificate_format: Option<bool>The certificate will be displayed in DER format
display_id: Option<String>The display id of the item
gateway_details: Option<bool>Indicate if the item should return with clusters details (url, etc)
item_custom_fields_details: Option<bool>Include all item custom fields details
item_id: Option<i64>Item id of the item
json: Option<bool>Set output format to JSON
name: StringItem name
services_details: Option<bool>Include all associated services details
show_versions: Option<bool>Include all item 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§
Source§impl DescribeItem
impl DescribeItem
pub fn new(name: String) -> DescribeItem
Trait Implementations§
Source§impl Clone for DescribeItem
impl Clone for DescribeItem
Source§fn clone(&self) -> DescribeItem
fn clone(&self) -> DescribeItem
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 DescribeItem
impl Debug for DescribeItem
Source§impl Default for DescribeItem
impl Default for DescribeItem
Source§fn default() -> DescribeItem
fn default() -> DescribeItem
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DescribeItem
impl<'de> Deserialize<'de> for DescribeItem
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 DescribeItem
impl PartialEq for DescribeItem
Source§fn eq(&self, other: &DescribeItem) -> bool
fn eq(&self, other: &DescribeItem) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DescribeItem
impl Serialize for DescribeItem
impl StructuralPartialEq for DescribeItem
Auto Trait Implementations§
impl Freeze for DescribeItem
impl RefUnwindSafe for DescribeItem
impl Send for DescribeItem
impl Sync for DescribeItem
impl Unpin for DescribeItem
impl UnsafeUnpin for DescribeItem
impl UnwindSafe for DescribeItem
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