pub struct AclRolePolicyLink {
pub name: String,
}
Expand description
ACLRolePolicyLink is used to link a policy to an ACL role. We use a struct rather than a list of strings as in the future we will want to add IDs to policies and then link via these.
This struct was generated based on the Go types of the official Nomad API client.
Fields§
§name: String
Name is the ACLPolicy.Name value which will be linked to the ACL role.
Implementations§
Source§impl AclRolePolicyLink
impl AclRolePolicyLink
pub fn builder() -> AclRolePolicyLinkBuilder
Trait Implementations§
Source§impl Clone for AclRolePolicyLink
impl Clone for AclRolePolicyLink
Source§fn clone(&self) -> AclRolePolicyLink
fn clone(&self) -> AclRolePolicyLink
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 AclRolePolicyLink
impl Debug for AclRolePolicyLink
Source§impl Default for AclRolePolicyLink
impl Default for AclRolePolicyLink
Source§fn default() -> AclRolePolicyLink
fn default() -> AclRolePolicyLink
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AclRolePolicyLink
impl<'de> Deserialize<'de> for AclRolePolicyLink
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 AclRolePolicyLink
impl PartialEq for AclRolePolicyLink
Source§impl Serialize for AclRolePolicyLink
impl Serialize for AclRolePolicyLink
impl StructuralPartialEq for AclRolePolicyLink
Auto Trait Implementations§
impl Freeze for AclRolePolicyLink
impl RefUnwindSafe for AclRolePolicyLink
impl Send for AclRolePolicyLink
impl Sync for AclRolePolicyLink
impl Unpin for AclRolePolicyLink
impl UnwindSafe for AclRolePolicyLink
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