pub struct Against {
pub commands: BTreeSet<String>,
pub open_tickets: Option<BTreeSet<String>>,
}Expand description
What check checks against, besides the pack.
Fields§
§commands: BTreeSet<String>The shuyi commands a skill may name: the contract’s operations,
the MCP session’s tools and the other commands.
open_tickets: Option<BTreeSet<String>>The ids of the tickets still to come, if known: each id in a
waits_for must be one.
Implementations§
Source§impl Against
impl Against
Sourcepub fn this_shuyi(tickets: Option<&Path>) -> Result<Self, String>
pub fn this_shuyi(tickets: Option<&Path>) -> Result<Self, String>
This shuyi’s commands (crate::COMMANDS and the contract’s),
and the ticket ids of the open tickets in tickets if given (each
<id>-….md file there).
Trait Implementations§
impl Eq for Against
impl StructuralPartialEq for Against
Auto Trait Implementations§
impl Freeze for Against
impl RefUnwindSafe for Against
impl Send for Against
impl Sync for Against
impl Unpin for Against
impl UnsafeUnpin for Against
impl UnwindSafe for Against
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.