pub struct ExecutionApiAuthConfig {
pub bearer_token: Option<String>,
pub bearer_role: ApiRole,
pub api_key_hash: Option<String>,
pub api_key_role: ApiRole,
pub compat_node_secret_hash: Option<String>,
pub compat_node_secret_role: ApiRole,
pub keyed_api_keys: HashMap<String, StaticApiKeyConfig>,
/* private fields */
}Available on crate feature
execution-server only.Fields§
§bearer_token: Option<String>§bearer_role: ApiRole§api_key_hash: Option<String>§api_key_role: ApiRole§compat_node_secret_hash: Option<String>§compat_node_secret_role: ApiRole§keyed_api_keys: HashMap<String, StaticApiKeyConfig>Trait Implementations§
Source§impl Clone for ExecutionApiAuthConfig
impl Clone for ExecutionApiAuthConfig
Source§fn clone(&self) -> ExecutionApiAuthConfig
fn clone(&self) -> ExecutionApiAuthConfig
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 ExecutionApiAuthConfig
impl Debug for ExecutionApiAuthConfig
Source§impl Default for ExecutionApiAuthConfig
impl Default for ExecutionApiAuthConfig
Source§fn default() -> ExecutionApiAuthConfig
fn default() -> ExecutionApiAuthConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ExecutionApiAuthConfig
impl RefUnwindSafe for ExecutionApiAuthConfig
impl Send for ExecutionApiAuthConfig
impl Sync for ExecutionApiAuthConfig
impl Unpin for ExecutionApiAuthConfig
impl UnsafeUnpin for ExecutionApiAuthConfig
impl UnwindSafe for ExecutionApiAuthConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more