pub struct SubjectStep {
pub name: String,
pub proves: String,
pub prerequisites: Vec<String>,
pub stance: String,
pub reason: String,
}Expand description
One step’s contract.
Fields§
§name: StringThe step.
proves: StringWhat the step proves.
prerequisites: Vec<String>The steps that must hold before this one applies.
stance: StringWhere the step stands at this target.
reason: StringWhy, where it does not apply or the target excludes it.
Trait Implementations§
Source§impl Clone for SubjectStep
impl Clone for SubjectStep
Source§impl Debug for SubjectStep
impl Debug for SubjectStep
Source§impl<'de> Deserialize<'de> for SubjectStep
impl<'de> Deserialize<'de> for SubjectStep
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SubjectStep
Source§impl PartialEq for SubjectStep
impl PartialEq for SubjectStep
Source§impl Serialize for SubjectStep
impl Serialize for SubjectStep
impl StructuralPartialEq for SubjectStep
Auto Trait Implementations§
impl Freeze for SubjectStep
impl RefUnwindSafe for SubjectStep
impl Send for SubjectStep
impl Sync for SubjectStep
impl Unpin for SubjectStep
impl UnsafeUnpin for SubjectStep
impl UnwindSafe for SubjectStep
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<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.