pub struct AclAuthMethodListStub {
pub name: String,
pub type: String,
pub default: bool,
pub create_index: u64,
pub modify_index: u64,
}
Expand description
ACLAuthMethodListStub is the stub object returned when performing a listing of ACL auth-methods. It is intentionally minimal due to the unauthenticated nature of the list endpoint.
This struct was generated based on the Go types of the official Nomad API.
Fields§
§name: String
§type: String
§default: bool
§create_index: u64
§modify_index: u64
Trait Implementations§
Source§impl Clone for AclAuthMethodListStub
impl Clone for AclAuthMethodListStub
Source§fn clone(&self) -> AclAuthMethodListStub
fn clone(&self) -> AclAuthMethodListStub
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 AclAuthMethodListStub
impl Debug for AclAuthMethodListStub
Source§impl Default for AclAuthMethodListStub
impl Default for AclAuthMethodListStub
Source§fn default() -> AclAuthMethodListStub
fn default() -> AclAuthMethodListStub
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AclAuthMethodListStub
impl<'de> Deserialize<'de> for AclAuthMethodListStub
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 AclAuthMethodListStub
impl PartialEq for AclAuthMethodListStub
Source§impl Serialize for AclAuthMethodListStub
impl Serialize for AclAuthMethodListStub
impl StructuralPartialEq for AclAuthMethodListStub
Auto Trait Implementations§
impl Freeze for AclAuthMethodListStub
impl RefUnwindSafe for AclAuthMethodListStub
impl Send for AclAuthMethodListStub
impl Sync for AclAuthMethodListStub
impl Unpin for AclAuthMethodListStub
impl UnwindSafe for AclAuthMethodListStub
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