pub struct ConstructorMetadata {
pub module_path: String,
pub self_name: String,
pub name: String,
pub inputs: Vec<FnParamMetadata>,
pub throws: Option<Type>,
pub checksum: Option<u16>,
}
Fields§
§module_path: String
§self_name: String
§name: String
§inputs: Vec<FnParamMetadata>
§throws: Option<Type>
§checksum: Option<u16>
Implementations§
Source§impl ConstructorMetadata
impl ConstructorMetadata
pub fn ffi_symbol_name(&self) -> String
pub fn checksum_symbol_name(&self) -> String
pub fn is_primary(&self) -> bool
Trait Implementations§
Source§impl Clone for ConstructorMetadata
impl Clone for ConstructorMetadata
Source§fn clone(&self) -> ConstructorMetadata
fn clone(&self) -> ConstructorMetadata
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 Debug for ConstructorMetadata
impl Debug for ConstructorMetadata
Source§impl From<ConstructorMetadata> for Metadata
impl From<ConstructorMetadata> for Metadata
Source§fn from(c: ConstructorMetadata) -> Self
fn from(c: ConstructorMetadata) -> Self
Converts to this type from the input type.
Source§impl Ord for ConstructorMetadata
impl Ord for ConstructorMetadata
Source§fn cmp(&self, other: &ConstructorMetadata) -> Ordering
fn cmp(&self, other: &ConstructorMetadata) -> 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 PartialEq for ConstructorMetadata
impl PartialEq for ConstructorMetadata
Source§impl PartialOrd for ConstructorMetadata
impl PartialOrd for ConstructorMetadata
impl Eq for ConstructorMetadata
impl StructuralPartialEq for ConstructorMetadata
Auto Trait Implementations§
impl Freeze for ConstructorMetadata
impl RefUnwindSafe for ConstructorMetadata
impl Send for ConstructorMetadata
impl Sync for ConstructorMetadata
impl Unpin for ConstructorMetadata
impl UnwindSafe for ConstructorMetadata
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