Struct ydb_unofficial::auth::cli::Cli
source · pub struct Cli { /* private fields */ }Available on crate feature
auth-cli only.Expand description
An automaitc updatable token.
Updates every 11 hours by run command yc iam create-token.
To use that you need Yandex Cloud CLI installed
Implementations§
Trait Implementations§
source§impl Credentials for Cli
impl Credentials for Cli
fn token(&self) -> AsciiValue
source§impl Into<UpdatableToken> for Cli
impl Into<UpdatableToken> for Cli
source§fn into(self) -> UpdatableToken
fn into(self) -> UpdatableToken
Converts this type into the (usually inferred) input type.
Auto Trait Implementations§
impl RefUnwindSafe for Cli
impl Send for Cli
impl Sync for Cli
impl Unpin for Cli
impl UnwindSafe for Cli
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> 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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request