pub struct Params { /* private fields */ }Expand description
BitBar only supports up to five parameters for bash= commands (see https://github.com/matryer/bitbar/issues/490).
Trait Implementations§
Source§impl<Cmd: ToString, A: ToString, B: ToString> From<(Cmd, A, B)> for Params
impl<Cmd: ToString, A: ToString, B: ToString> From<(Cmd, A, B)> for Params
Source§fn from((cmd, param1, param2): (Cmd, A, B)) -> Params
fn from((cmd, param1, param2): (Cmd, A, B)) -> Params
Converts to this type from the input type.
Source§impl<Cmd: ToString, A: ToString, B: ToString, C: ToString> From<(Cmd, A, B, C)> for Params
impl<Cmd: ToString, A: ToString, B: ToString, C: ToString> From<(Cmd, A, B, C)> for Params
Source§fn from((cmd, param1, param2, param3): (Cmd, A, B, C)) -> Params
fn from((cmd, param1, param2, param3): (Cmd, A, B, C)) -> Params
Converts to this type from the input type.
Source§impl<Cmd: ToString, A: ToString, B: ToString, C: ToString, D: ToString> From<(Cmd, A, B, C, D)> for Params
impl<Cmd: ToString, A: ToString, B: ToString, C: ToString, D: ToString> From<(Cmd, A, B, C, D)> for Params
Source§fn from((cmd, param1, param2, param3, param4): (Cmd, A, B, C, D)) -> Params
fn from((cmd, param1, param2, param3, param4): (Cmd, A, B, C, D)) -> Params
Converts to this type from the input type.
Source§impl<Cmd: ToString, A: ToString, B: ToString, C: ToString, D: ToString, E: ToString> From<(Cmd, A, B, C, D, E)> for Params
impl<Cmd: ToString, A: ToString, B: ToString, C: ToString, D: ToString, E: ToString> From<(Cmd, A, B, C, D, E)> for Params
Source§fn from(
(cmd, param1, param2, param3, param4, param5): (Cmd, A, B, C, D, E),
) -> Params
fn from( (cmd, param1, param2, param3, param4, param5): (Cmd, A, B, C, D, E), ) -> Params
Converts to this type from the input type.
Source§impl IntoParams for Params
impl IntoParams for Params
Auto Trait Implementations§
impl Freeze for Params
impl RefUnwindSafe for Params
impl Send for Params
impl Sync for Params
impl Unpin for Params
impl UnwindSafe for Params
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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