Struct move_abigen::AbigenOptions
source · [−]pub struct AbigenOptions {
pub compiled_script_directory: String,
pub in_memory_bytes: Option<BTreeMap<String, Vec<u8>>>,
pub output_directory: String,
}
Expand description
Options passed into the ABI generator.
Fields
compiled_script_directory: String
Where to find the .mv files of scripts.
in_memory_bytes: Option<BTreeMap<String, Vec<u8>>>
Where to get the script bytes if held in memory
output_directory: String
In which directory to store output.
Trait Implementations
sourceimpl Clone for AbigenOptions
impl Clone for AbigenOptions
sourcefn clone(&self) -> AbigenOptions
fn clone(&self) -> AbigenOptions
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for AbigenOptions
impl Debug for AbigenOptions
sourceimpl Default for AbigenOptions
impl Default for AbigenOptions
sourceimpl<'de> Deserialize<'de> for AbigenOptions where
AbigenOptions: Default,
impl<'de> Deserialize<'de> for AbigenOptions where
AbigenOptions: Default,
sourcefn 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
sourceimpl Serialize for AbigenOptions
impl Serialize for AbigenOptions
Auto Trait Implementations
impl RefUnwindSafe for AbigenOptions
impl Send for AbigenOptions
impl Sync for AbigenOptions
impl Unpin for AbigenOptions
impl UnwindSafe for AbigenOptions
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more