pub struct UidGenerateToken {
pub auth_method_name: String,
pub json: Option<bool>,
pub token: Option<String>,
pub uid_token: Option<String>,
}Expand description
UidGenerateToken : uidGenerateToken is a command that generates a new token using Akeyless Universal Identity.
Fields§
§auth_method_name: StringThe universal identity auth method name
json: Option<bool>Set output format to JSON
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 UidGenerateToken
impl UidGenerateToken
Sourcepub fn new(auth_method_name: String) -> UidGenerateToken
pub fn new(auth_method_name: String) -> UidGenerateToken
uidGenerateToken is a command that generates a new token using Akeyless Universal Identity.
Trait Implementations§
Source§impl Clone for UidGenerateToken
impl Clone for UidGenerateToken
Source§fn clone(&self) -> UidGenerateToken
fn clone(&self) -> UidGenerateToken
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 UidGenerateToken
impl Debug for UidGenerateToken
Source§impl Default for UidGenerateToken
impl Default for UidGenerateToken
Source§fn default() -> UidGenerateToken
fn default() -> UidGenerateToken
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UidGenerateToken
impl<'de> Deserialize<'de> for UidGenerateToken
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 UidGenerateToken
impl PartialEq for UidGenerateToken
Source§fn eq(&self, other: &UidGenerateToken) -> bool
fn eq(&self, other: &UidGenerateToken) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for UidGenerateToken
impl Serialize for UidGenerateToken
impl StructuralPartialEq for UidGenerateToken
Auto Trait Implementations§
impl Freeze for UidGenerateToken
impl RefUnwindSafe for UidGenerateToken
impl Send for UidGenerateToken
impl Sync for UidGenerateToken
impl Unpin for UidGenerateToken
impl UnsafeUnpin for UidGenerateToken
impl UnwindSafe for UidGenerateToken
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