pub struct CreateProviderBuilder { /* private fields */ }Expand description
Builder for creating a provider
Implementations§
Source§impl CreateProviderBuilder
impl CreateProviderBuilder
Sourcepub fn with_owner(self, owner: impl Into<Option<String>>) -> Self
pub fn with_owner(self, owner: impl Into<Option<String>>) -> Self
Username of the provider owner.
Sourcepub fn with_comment(self, comment: impl Into<Option<String>>) -> Self
pub fn with_comment(self, comment: impl Into<Option<String>>) -> Self
Description about the provider.
Sourcepub fn with_recipient_profile_str(
self,
recipient_profile_str: impl Into<Option<String>>,
) -> Self
pub fn with_recipient_profile_str( self, recipient_profile_str: impl Into<Option<String>>, ) -> Self
The recipient profile (credential file contents) used to connect to the sharing server, required for TOKEN authentication.
Sourcepub fn with_properties<I, K, V>(self, properties: I) -> Self
pub fn with_properties<I, K, V>(self, properties: I) -> Self
Provider properties as map of string key-value pairs.
Trait Implementations§
Source§impl IntoFuture for CreateProviderBuilder
impl IntoFuture for CreateProviderBuilder
Source§type IntoFuture = Pin<Box<dyn Future<Output = <CreateProviderBuilder as IntoFuture>::Output> + Send>>
type IntoFuture = Pin<Box<dyn Future<Output = <CreateProviderBuilder as IntoFuture>::Output> + Send>>
Which kind of future are we turning this into?
Source§fn into_future(self) -> Self::IntoFuture
fn into_future(self) -> Self::IntoFuture
Creates a future from a value. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for CreateProviderBuilder
impl !UnwindSafe for CreateProviderBuilder
impl Freeze for CreateProviderBuilder
impl Send for CreateProviderBuilder
impl Sync for CreateProviderBuilder
impl Unpin for CreateProviderBuilder
impl UnsafeUnpin for CreateProviderBuilder
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