Struct substreams_antelope::Abigen
source · pub struct Abigen { /* private fields */ }
Implementations§
source§impl Abigen
impl Abigen
sourcepub fn new<S>(_contract_name: S, path: S) -> Result<Abigen, Error>
pub fn new<S>(_contract_name: S, path: S) -> Result<Abigen, Error>
Creates a new builder for the given contract name and where the ABI JSON file can be found
at path
, which is relative to the your crate’s root directory (where Cargo.toml
file is located).
pub fn generate(&self) -> Result<GeneratedBindings, Error>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Abigen
impl RefUnwindSafe for Abigen
impl Send for Abigen
impl Sync for Abigen
impl Unpin for Abigen
impl UnwindSafe for Abigen
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