Enum paypal_rust::client::auth::AuthStrategy
source · pub enum AuthStrategy {
TokenRefresh,
NoTokenRefresh,
}
Expand description
Whether to check the validity of the access token and refresh it if necessary or not.
Variants§
TokenRefresh
Always check the validity of the access token and refresh it if necessary.
NoTokenRefresh
Never check the validity of the access token and never refresh it.
Trait Implementations§
source§impl Clone for AuthStrategy
impl Clone for AuthStrategy
source§fn clone(&self) -> AuthStrategy
fn clone(&self) -> AuthStrategy
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 more