pub struct RemoteJwksDecoderConfigBuilder { /* private fields */ }Expand description
Builder for RemoteJwksDecoderConfig.
Implementations§
Source§impl RemoteJwksDecoderConfigBuilder
impl RemoteJwksDecoderConfigBuilder
Sourcepub fn cache_duration(self, cache_duration: Duration) -> Self
pub fn cache_duration(self, cache_duration: Duration) -> Self
Sets the cache duration.
Sourcepub fn retry_count(self, retry_count: usize) -> Self
pub fn retry_count(self, retry_count: usize) -> Self
Sets the retry count.
Sourcepub fn build(self) -> RemoteJwksDecoderConfig
pub fn build(self) -> RemoteJwksDecoderConfig
Builds the RemoteJwksDecoderConfig with defaults for unset fields.
Auto Trait Implementations§
impl Freeze for RemoteJwksDecoderConfigBuilder
impl RefUnwindSafe for RemoteJwksDecoderConfigBuilder
impl Send for RemoteJwksDecoderConfigBuilder
impl Sync for RemoteJwksDecoderConfigBuilder
impl Unpin for RemoteJwksDecoderConfigBuilder
impl UnwindSafe for RemoteJwksDecoderConfigBuilder
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