pub struct Cheatcodes<'a> {
pub errors: Cow<'a, [Error<'a>]>,
pub events: Cow<'a, [Event<'a>]>,
pub enums: Cow<'a, [Enum<'a>]>,
pub structs: Cow<'a, [Struct<'a>]>,
pub cheatcodes: Cow<'a, [Cheatcode<'a>]>,
}
Expand description
Foundry cheatcodes. Learn more: https://book.getfoundry.sh/cheatcodes/
Fields§
§errors: Cow<'a, [Error<'a>]>
Cheatcode errors.
events: Cow<'a, [Event<'a>]>
Cheatcode events.
enums: Cow<'a, [Enum<'a>]>
Cheatcode enums.
structs: Cow<'a, [Struct<'a>]>
Cheatcode structs.
cheatcodes: Cow<'a, [Cheatcode<'a>]>
All the cheatcodes.
Implementations§
Source§impl Cheatcodes<'static>
impl Cheatcodes<'static>
Trait Implementations§
Source§impl<'a> Clone for Cheatcodes<'a>
impl<'a> Clone for Cheatcodes<'a>
Source§fn clone(&self) -> Cheatcodes<'a>
fn clone(&self) -> Cheatcodes<'a>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'a> Debug for Cheatcodes<'a>
impl<'a> Debug for Cheatcodes<'a>
Source§impl Default for Cheatcodes<'static>
impl Default for Cheatcodes<'static>
Source§impl<'de: 'a, 'a> Deserialize<'de> for Cheatcodes<'a>
impl<'de: 'a, 'a> Deserialize<'de> for Cheatcodes<'a>
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
Source§impl Display for Cheatcodes<'_>
impl Display for Cheatcodes<'_>
Source§impl<'a> JsonSchema for Cheatcodes<'a>
impl<'a> JsonSchema for Cheatcodes<'a>
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moreSource§impl<'a> Ord for Cheatcodes<'a>
impl<'a> Ord for Cheatcodes<'a>
Source§fn cmp(&self, other: &Cheatcodes<'a>) -> Ordering
fn cmp(&self, other: &Cheatcodes<'a>) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<'a> PartialEq for Cheatcodes<'a>
impl<'a> PartialEq for Cheatcodes<'a>
Source§impl<'a> PartialOrd for Cheatcodes<'a>
impl<'a> PartialOrd for Cheatcodes<'a>
Source§impl<'a> Serialize for Cheatcodes<'a>
impl<'a> Serialize for Cheatcodes<'a>
impl<'a> Eq for Cheatcodes<'a>
impl<'a> StructuralPartialEq for Cheatcodes<'a>
Auto Trait Implementations§
impl<'a> Freeze for Cheatcodes<'a>
impl<'a> RefUnwindSafe for Cheatcodes<'a>
impl<'a> Send for Cheatcodes<'a>
impl<'a> Sync for Cheatcodes<'a>
impl<'a> Unpin for Cheatcodes<'a>
impl<'a> UnwindSafe for Cheatcodes<'a>
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§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.impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 120 bytes