pub struct VaultAccessor {
pub alloc_id: String,
pub task: String,
pub node_id: String,
pub accessor: String,
pub creation_ttl: i64,
pub create_index: u64,
}
Expand description
VaultAccessor is a Vault ACL token created by Nomad for a task to access Vault using the legacy authentication flow.
This struct was generated based on the Go types of the official Nomad API client.
Fields§
§alloc_id: String
AllocID is the ID of the allocation that requested this token.
task: String
Task is the name of the task that requested this token.
node_id: String
NodeID is the ID of the node running the allocation that requested this token.
accessor: String
Accessor is the Vault ACL token accessor ID.
creation_ttl: i64
CreationTTL is the TTL set when the token was created.
create_index: u64
CreateIndex is the Raft index when the token was created.
Implementations§
Source§impl VaultAccessor
impl VaultAccessor
pub fn builder() -> VaultAccessorBuilder
Trait Implementations§
Source§impl Clone for VaultAccessor
impl Clone for VaultAccessor
Source§fn clone(&self) -> VaultAccessor
fn clone(&self) -> VaultAccessor
Returns a duplicate of the value. Read more
1.0.0 · 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 VaultAccessor
impl Debug for VaultAccessor
Source§impl Default for VaultAccessor
impl Default for VaultAccessor
Source§fn default() -> VaultAccessor
fn default() -> VaultAccessor
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for VaultAccessor
impl<'de> Deserialize<'de> for VaultAccessor
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 VaultAccessor
impl PartialEq for VaultAccessor
Source§impl Serialize for VaultAccessor
impl Serialize for VaultAccessor
impl StructuralPartialEq for VaultAccessor
Auto Trait Implementations§
impl Freeze for VaultAccessor
impl RefUnwindSafe for VaultAccessor
impl Send for VaultAccessor
impl Sync for VaultAccessor
impl Unpin for VaultAccessor
impl UnwindSafe for VaultAccessor
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