Trait onepassword_cli::SecondCmd[][src]

pub trait SecondCmd {
    type Output: DeserializeOwned;
    type First: FirstCmd + Clone;
    fn first(&self) -> &Self::First;
fn cmd(&self) -> &str;
fn flags(&self) -> Vec<String>; fn add_flag(&mut self, flags: &[&str]) -> &Self { ... }
#[must_use] fn run<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<Self::Output>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: Sync + 'async_trait
, { ... } }

Associated Types

Loading content...

Required methods

fn first(&self) -> &Self::First[src]

fn cmd(&self) -> &str[src]

fn flags(&self) -> Vec<String>[src]

Loading content...

Provided methods

fn add_flag(&mut self, flags: &[&str]) -> &Self[src]

#[must_use]fn run<'life0, 'async_trait>(
    &'life0 self
) -> Pin<Box<dyn Future<Output = Result<Self::Output>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: Sync + 'async_trait, 
[src]

Loading content...

Implementors

impl SecondCmd for AccountCmd[src]

type Output = Account

type First = GetCmd

impl SecondCmd for CreateDocumentCmd[src]

type Output = CreateDocument

type First = CreateCmd

impl SecondCmd for GetDocumentCmd[src]

type Output = Value

type First = GetCmd

impl SecondCmd for GetItemCmd[src]

type Output = GetItem

type First = GetCmd

impl SecondCmd for GetTotpCmd[src]

type Output = Value

type First = GetCmd

impl SecondCmd for ItemLiteCmd[src]

type Output = ItemLite

type First = GetCmd

impl SecondCmd for ListDocumentsCmd[src]

type Output = Vec<ListDocument>

type First = ListCmd

impl SecondCmd for ListItemsCmd[src]

type Output = Vec<ListItem>

type First = ListCmd

Loading content...