pub struct ActionRules {
pub by_txid: HashMap<String, String>,
pub by_template: HashMap<String, String>,
}Expand description
The rules a listing shows as underRule: by txid, and for a template
not yet signed (listed with an all-zero txid) by its shape in the
listing, read off the toolbox row its reference names.
Fields§
§by_txid: HashMap<String, String>§by_template: HashMap<String, String>template_key → rule, only where every unsigned toolbox row of
that shape carries the same rule: a shape shared with a template
under no rule, or another rule, names none.
Trait Implementations§
Source§impl Clone for ActionRules
impl Clone for ActionRules
Source§impl Debug for ActionRules
impl Debug for ActionRules
Auto Trait Implementations§
impl Freeze for ActionRules
impl RefUnwindSafe for ActionRules
impl Send for ActionRules
impl Sync for ActionRules
impl Unpin for ActionRules
impl UnsafeUnpin for ActionRules
impl UnwindSafe for ActionRules
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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