pub struct PasswordManagerClient(pub Client);Expand description
The main entry point for the Bitwarden Password Manager SDK
Tuple Fields§
§0: ClientImplementations§
Source§impl PasswordManagerClient
impl PasswordManagerClient
Sourcepub fn new(settings: Option<ClientSettings>) -> Self
pub fn new(settings: Option<ClientSettings>) -> Self
Initialize a new instance of the SDK client
Sourcepub fn builder() -> PasswordManagerClientBuilder
pub fn builder() -> PasswordManagerClientBuilder
Returns a PasswordManagerClientBuilder for constructing a new PasswordManagerClient.
Sourcepub fn new_with_client_tokens(
settings: Option<ClientSettings>,
tokens: Arc<dyn ClientManagedTokens>,
) -> Self
pub fn new_with_client_tokens( settings: Option<ClientSettings>, tokens: Arc<dyn ClientManagedTokens>, ) -> Self
Initialize a new instance of the SDK client with client-managed tokens
Sourcepub fn new_with_sync(settings: Option<ClientSettings>) -> Self
pub fn new_with_sync(settings: Option<ClientSettings>) -> Self
Initialize a new instance of the SDK client with SDK managed state and sync handlers registered
This will eventually replace new when the SDK fully owns sync on all clients.
Sourcepub fn auth(&self) -> AuthClient
pub fn auth(&self) -> AuthClient
Auth operations
Sourcepub fn commercial(&self) -> CommercialPasswordManagerClient
pub fn commercial(&self) -> CommercialPasswordManagerClient
Bitwarden licensed operations
Sourcepub fn crypto(&self) -> CryptoClient
pub fn crypto(&self) -> CryptoClient
Crypto operations
Sourcepub fn user_crypto_management(&self) -> UserCryptoManagementClient
pub fn user_crypto_management(&self) -> UserCryptoManagementClient
Operations that manage the cryptographic machinery of a user account, including key-rotation
Sourcepub fn vault(&self) -> VaultClient
pub fn vault(&self) -> VaultClient
Vault item operations
Sourcepub fn exporters(&self) -> ExporterClient
pub fn exporters(&self) -> ExporterClient
Exporter operations
Sourcepub fn generator(&self) -> GeneratorClient
pub fn generator(&self) -> GeneratorClient
Generator operations
Sourcepub fn sends(&self) -> SendClient
pub fn sends(&self) -> SendClient
Send operations
Sourcepub fn sync(&self) -> SyncClient
pub fn sync(&self) -> SyncClient
Sync operations
Auto Trait Implementations§
impl Freeze for PasswordManagerClient
impl !RefUnwindSafe for PasswordManagerClient
impl Send for PasswordManagerClient
impl Sync for PasswordManagerClient
impl Unpin for PasswordManagerClient
impl UnsafeUnpin for PasswordManagerClient
impl !UnwindSafe for PasswordManagerClient
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
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
§impl<T> CompatExt for T
impl<T> CompatExt for T
§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
§fn new_handle(value: Arc<T>) -> Handle
fn new_handle(value: Arc<T>) -> Handle
Create a new handle for an Arc value Read more
§unsafe fn clone_handle(handle: Handle) -> Handle
unsafe fn clone_handle(handle: Handle) -> Handle
Clone a handle Read more
§unsafe fn consume_handle(handle: Handle) -> Arc<T>
unsafe fn consume_handle(handle: Handle) -> Arc<T>
Consume a handle, getting back the initial
Arc<> Read more§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more