pub struct OnePasswordSecret { /* private fields */ }Expand description
This struct defines a secret from the 1Password CLI.
Implementations§
Source§impl OnePasswordSecret
impl OnePasswordSecret
Sourcepub fn new(connection_string: String) -> OnePasswordSecret
pub fn new(connection_string: String) -> OnePasswordSecret
Creates a new instance of OnePasswordSecret that is connected to the given connection_string.
This does not load anything. To access the 1Password CLI tool, you MUST use the .load method.
Auto Trait Implementations§
impl Freeze for OnePasswordSecret
impl RefUnwindSafe for OnePasswordSecret
impl Send for OnePasswordSecret
impl Sync for OnePasswordSecret
impl Unpin for OnePasswordSecret
impl UnwindSafe for OnePasswordSecret
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