pub struct CommandLineContract {
pub slots: Vec<ArgvSlot>,
}Expand description
One body line: its argv slots, in order.
Fields§
§slots: Vec<ArgvSlot>The slots, in order. The first slot is the program that runs, and is always literal — the check layer refuses a hole there.
Trait Implementations§
Source§impl Clone for CommandLineContract
impl Clone for CommandLineContract
Source§fn clone(&self) -> CommandLineContract
fn clone(&self) -> CommandLineContract
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CommandLineContract
impl Debug for CommandLineContract
Source§impl<'de> Deserialize<'de> for CommandLineContract
impl<'de> Deserialize<'de> for CommandLineContract
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 CommandLineContract
Source§impl PartialEq for CommandLineContract
impl PartialEq for CommandLineContract
Source§impl Serialize for CommandLineContract
impl Serialize for CommandLineContract
impl StructuralPartialEq for CommandLineContract
Auto Trait Implementations§
impl Freeze for CommandLineContract
impl RefUnwindSafe for CommandLineContract
impl Send for CommandLineContract
impl Sync for CommandLineContract
impl Unpin for CommandLineContract
impl UnsafeUnpin for CommandLineContract
impl UnwindSafe for CommandLineContract
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.