pub struct AclBindingRuleListStub {
pub id: String,
pub description: String,
pub auth_method: String,
pub create_index: u64,
pub modify_index: u64,
}Expand description
ACLBindingRuleListStub is the stub object returned when performing a listing of ACL binding rules.
This struct was generated based on the Go types of the official Nomad API client.
Fields§
§id: StringID is an internally generated UUID for this role and is controlled by Nomad.
description: StringDescription is a human-readable, operator set description that can provide additional context about the binding role. This is an operational field.
auth_method: StringAuthMethod is the name of the auth method for which this rule applies to. This is required and the method must exist within state before the cluster administrator can create the rule.
create_index: u64§modify_index: u64Implementations§
Source§impl AclBindingRuleListStub
impl AclBindingRuleListStub
pub fn builder() -> AclBindingRuleListStubBuilder
Trait Implementations§
Source§impl Clone for AclBindingRuleListStub
impl Clone for AclBindingRuleListStub
Source§fn clone(&self) -> AclBindingRuleListStub
fn clone(&self) -> AclBindingRuleListStub
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 AclBindingRuleListStub
impl Debug for AclBindingRuleListStub
Source§impl Default for AclBindingRuleListStub
impl Default for AclBindingRuleListStub
Source§fn default() -> AclBindingRuleListStub
fn default() -> AclBindingRuleListStub
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AclBindingRuleListStub
impl<'de> Deserialize<'de> for AclBindingRuleListStub
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 AclBindingRuleListStub
impl PartialEq for AclBindingRuleListStub
Source§impl Serialize for AclBindingRuleListStub
impl Serialize for AclBindingRuleListStub
impl StructuralPartialEq for AclBindingRuleListStub
Auto Trait Implementations§
impl Freeze for AclBindingRuleListStub
impl RefUnwindSafe for AclBindingRuleListStub
impl Send for AclBindingRuleListStub
impl Sync for AclBindingRuleListStub
impl Unpin for AclBindingRuleListStub
impl UnwindSafe for AclBindingRuleListStub
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