Struct odra_types::contract_def::Entrypoint
source · pub struct Entrypoint {
pub ident: String,
pub args: Vec<Argument>,
pub is_mut: bool,
pub ret: Type,
pub ty: EntrypointType,
}Expand description
Contract’s entrypoint.
Fields§
§ident: String§args: Vec<Argument>§is_mut: bool§ret: Type§ty: EntrypointTypeTrait Implementations§
source§impl Clone for Entrypoint
impl Clone for Entrypoint
source§fn clone(&self) -> Entrypoint
fn clone(&self) -> Entrypoint
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 moreAuto Trait Implementations§
impl RefUnwindSafe for Entrypoint
impl Send for Entrypoint
impl Sync for Entrypoint
impl Unpin for Entrypoint
impl UnwindSafe for Entrypoint
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