pub struct OciAuthRequest {
pub registry: String,
pub username: Option<String>,
pub token: Option<String>,
pub anonymous: bool,
pub auth_provider: Option<String>,
}Expand description
Inputs for auth resolution (caller supplies env/global lookups).
Fields§
§registry: String§username: Option<String>§token: Option<String>§anonymous: bool§auth_provider: Option<String>Hint: “github”, “anonymous”, provider name.
Trait Implementations§
Source§impl Clone for OciAuthRequest
impl Clone for OciAuthRequest
Source§fn clone(&self) -> OciAuthRequest
fn clone(&self) -> OciAuthRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 OciAuthRequest
impl Debug for OciAuthRequest
Source§impl Default for OciAuthRequest
impl Default for OciAuthRequest
Source§fn default() -> OciAuthRequest
fn default() -> OciAuthRequest
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for OciAuthRequest
impl RefUnwindSafe for OciAuthRequest
impl Send for OciAuthRequest
impl Sync for OciAuthRequest
impl Unpin for OciAuthRequest
impl UnsafeUnpin for OciAuthRequest
impl UnwindSafe for OciAuthRequest
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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