Struct one_password::OpSession [−][src]
pub struct OpSession { /* fields omitted */ }
A configured session what can be used to actually lookup information in 1Password.
Methods
impl OpSession
[src]
impl OpSession
pub fn get_item(&self, uuid: &str) -> Result<OpItem>
[src]
pub fn get_item(&self, uuid: &str) -> Result<OpItem>
Get item with specified UUID.
This calls op get item
and parses the returned JSON.
Trait Implementations
impl Debug for OpSession
[src]
impl Debug for OpSession
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for OpSession
[src]
impl Clone for OpSession