pub struct AclLoginRequest {
pub auth_method_name: String,
pub login_token: String,
}Expand description
ACLLoginRequest is the request object to begin auth with an external bearer token provider.
This struct was generated based on the Go types of the official Nomad API client.
Fields§
§auth_method_name: StringAuthMethodName is the name of the auth method being used to login. This is a required parameter.
login_token: StringLoginToken is the token used to login. This is a required parameter.
Implementations§
Source§impl AclLoginRequest
impl AclLoginRequest
pub fn builder() -> AclLoginRequestBuilder
Trait Implementations§
Source§impl Clone for AclLoginRequest
impl Clone for AclLoginRequest
Source§fn clone(&self) -> AclLoginRequest
fn clone(&self) -> AclLoginRequest
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 AclLoginRequest
impl Debug for AclLoginRequest
Source§impl Default for AclLoginRequest
impl Default for AclLoginRequest
Source§fn default() -> AclLoginRequest
fn default() -> AclLoginRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AclLoginRequest
impl<'de> Deserialize<'de> for AclLoginRequest
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 AclLoginRequest
impl PartialEq for AclLoginRequest
Source§impl Serialize for AclLoginRequest
impl Serialize for AclLoginRequest
impl StructuralPartialEq for AclLoginRequest
Auto Trait Implementations§
impl Freeze for AclLoginRequest
impl RefUnwindSafe for AclLoginRequest
impl Send for AclLoginRequest
impl Sync for AclLoginRequest
impl Unpin for AclLoginRequest
impl UnwindSafe for AclLoginRequest
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