pub struct AuthenticationContextBuilder { /* private fields */ }Expand description
Builder for AuthenticationContext.
Implementations§
Source§impl AuthenticationContextBuilder
impl AuthenticationContextBuilder
pub fn exchange<VALUE: Into<ExchangeId>>(self, value: VALUE) -> Self
pub fn operation<VALUE: Into<String>>(self, value: VALUE) -> Self
pub fn code<VALUE: Into<String>>(self, value: VALUE) -> Self
pub fn message<VALUE: Into<String>>(self, value: VALUE) -> Self
Sourcepub fn build(
self,
) -> Result<AuthenticationContext, AuthenticationContextBuilderError>
pub fn build( self, ) -> Result<AuthenticationContext, AuthenticationContextBuilderError>
Trait Implementations§
Source§impl From<AuthenticationContextBuilder> for Error
impl From<AuthenticationContextBuilder> for Error
Source§fn from(builder: AuthenticationContextBuilder) -> Self
fn from(builder: AuthenticationContextBuilder) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AuthenticationContextBuilder
impl RefUnwindSafe for AuthenticationContextBuilder
impl Send for AuthenticationContextBuilder
impl Sync for AuthenticationContextBuilder
impl Unpin for AuthenticationContextBuilder
impl UnsafeUnpin for AuthenticationContextBuilder
impl UnwindSafe for AuthenticationContextBuilder
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