pub struct NicBuilder<S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<S: State> NicBuilder<S>
impl<S: State> NicBuilder<S>
Sourcepub fn backend(self, value: String) -> NicBuilder<SetBackend<S>>where
S::Backend: IsUnset,
pub fn backend(self, value: String) -> NicBuilder<SetBackend<S>>where
S::Backend: IsUnset,
Required.
Sourcepub fn properties(
self,
value: Vec<NetworkProperty>,
) -> NicBuilder<SetProperties<S>>where
S::Properties: IsUnset,
pub fn properties(
self,
value: Vec<NetworkProperty>,
) -> NicBuilder<SetProperties<S>>where
S::Properties: IsUnset,
Sourcepub fn maybe_properties(
self,
value: Option<Vec<NetworkProperty>>,
) -> NicBuilder<SetProperties<S>>where
S::Properties: IsUnset,
pub fn maybe_properties(
self,
value: Option<Vec<NetworkProperty>>,
) -> NicBuilder<SetProperties<S>>where
S::Properties: IsUnset,
Auto Trait Implementations§
impl<S> Freeze for NicBuilder<S>
impl<S> RefUnwindSafe for NicBuilder<S>
impl<S> Send for NicBuilder<S>
impl<S> Sync for NicBuilder<S>
impl<S> Unpin for NicBuilder<S>
impl<S> UnsafeUnpin for NicBuilder<S>
impl<S> UnwindSafe for NicBuilder<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