pub struct AclTokenRoleLink {
pub id: String,
pub name: String,
}
Expand description
ACLTokenRoleLink is used to link an ACL token to an ACL role. The ACL token can therefore inherit all the ACL policy permissions that the ACL role contains.
This struct was generated based on the Go types of the official Nomad API.
Fields§
§id: String
ID is the ACLRole.ID UUID. This field is immutable and represents the absolute truth for the link.
name: String
Name is the human friendly identifier for the ACL role and is a convenience field for operators.
Trait Implementations§
Source§impl Clone for AclTokenRoleLink
impl Clone for AclTokenRoleLink
Source§fn clone(&self) -> AclTokenRoleLink
fn clone(&self) -> AclTokenRoleLink
Returns a copy 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 AclTokenRoleLink
impl Debug for AclTokenRoleLink
Source§impl Default for AclTokenRoleLink
impl Default for AclTokenRoleLink
Source§fn default() -> AclTokenRoleLink
fn default() -> AclTokenRoleLink
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AclTokenRoleLink
impl<'de> Deserialize<'de> for AclTokenRoleLink
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 AclTokenRoleLink
impl PartialEq for AclTokenRoleLink
Source§impl Serialize for AclTokenRoleLink
impl Serialize for AclTokenRoleLink
impl StructuralPartialEq for AclTokenRoleLink
Auto Trait Implementations§
impl Freeze for AclTokenRoleLink
impl RefUnwindSafe for AclTokenRoleLink
impl Send for AclTokenRoleLink
impl Sync for AclTokenRoleLink
impl Unpin for AclTokenRoleLink
impl UnwindSafe for AclTokenRoleLink
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