pub struct LabelBuilder<'l, S: State = Empty> { /* private fields */ }
Available on crate feature
auth
only.Expand description
Use builder syntax to set the inputs and finish with build()
.
Implementations§
Source§impl<'l, S: State> LabelBuilder<'l, S>
impl<'l, S: State> LabelBuilder<'l, S>
Sourcepub fn build(self) -> Label<'l>where
S: IsComplete,
pub fn build(self) -> Label<'l>where
S: IsComplete,
Finish building and return the requested object
Sourcepub fn issuer(self, value: Part<'l>) -> LabelBuilder<'l, SetIssuer<S>>where
S::Issuer: IsUnset,
pub fn issuer(self, value: Part<'l>) -> LabelBuilder<'l, SetIssuer<S>>where
S::Issuer: IsUnset,
Sourcepub fn maybe_issuer(
self,
value: Option<Part<'l>>,
) -> LabelBuilder<'l, SetIssuer<S>>where
S::Issuer: IsUnset,
pub fn maybe_issuer(
self,
value: Option<Part<'l>>,
) -> LabelBuilder<'l, SetIssuer<S>>where
S::Issuer: IsUnset,
Sourcepub fn user(self, value: Part<'l>) -> LabelBuilder<'l, SetUser<S>>where
S::User: IsUnset,
pub fn user(self, value: Part<'l>) -> LabelBuilder<'l, SetUser<S>>where
S::User: IsUnset,
Required.
The authentication user.
Auto Trait Implementations§
impl<'l, S> Freeze for LabelBuilder<'l, S>
impl<'l, S> RefUnwindSafe for LabelBuilder<'l, S>
impl<'l, S> Send for LabelBuilder<'l, S>
impl<'l, S> Sync for LabelBuilder<'l, S>
impl<'l, S> Unpin for LabelBuilder<'l, S>
impl<'l, S> UnwindSafe for LabelBuilder<'l, S>
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