pub struct ClientBuilder<'f1, S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<'f1, S: State> ClientBuilder<'f1, S>
impl<'f1, S: State> ClientBuilder<'f1, S>
Sourcepub fn build(self) -> Clientwhere
S: IsComplete,
pub fn build(self) -> Clientwhere
S: IsComplete,
Finishes building and performs the requested action.
Sourcepub fn uid(self, value: i32) -> ClientBuilder<'f1, SetUid<S>>where
S::Uid: IsUnset,
pub fn uid(self, value: i32) -> ClientBuilder<'f1, SetUid<S>>where
S::Uid: IsUnset,
Required.
Sourcepub fn key(self, value: &'f1 str) -> ClientBuilder<'f1, SetKey<S>>where
S::Key: IsUnset,
pub fn key(self, value: &'f1 str) -> ClientBuilder<'f1, SetKey<S>>where
S::Key: IsUnset,
Required.
Auto Trait Implementations§
impl<'f1, S> Freeze for ClientBuilder<'f1, S>
impl<'f1, S> RefUnwindSafe for ClientBuilder<'f1, S>
impl<'f1, S> Send for ClientBuilder<'f1, S>
impl<'f1, S> Sync for ClientBuilder<'f1, S>
impl<'f1, S> Unpin for ClientBuilder<'f1, S>
impl<'f1, S> UnsafeUnpin for ClientBuilder<'f1, S>
impl<'f1, S> UnwindSafe for ClientBuilder<'f1, 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