Enum move_command_line_common::types::ParsedType
source · [−]pub enum ParsedType {
U8,
U64,
U128,
Bool,
Address,
Signer,
Vector(Box<ParsedType>),
Struct(ParsedStructType),
}
Variants
U8
U64
U128
Bool
Address
Signer
Vector(Box<ParsedType>)
Struct(ParsedStructType)
Implementations
sourceimpl ParsedType
impl ParsedType
pub fn parse(s: &str) -> Result<ParsedType>
sourceimpl ParsedType
impl ParsedType
pub fn into_type_tag(
self,
mapping: &impl Fn(&str) -> Option<AccountAddress>
) -> Result<TypeTag>
Trait Implementations
sourceimpl Clone for ParsedType
impl Clone for ParsedType
sourcefn clone(&self) -> ParsedType
fn clone(&self) -> ParsedType
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 ParsedType
impl Debug for ParsedType
sourceimpl PartialEq<ParsedType> for ParsedType
impl PartialEq<ParsedType> for ParsedType
sourcefn eq(&self, other: &ParsedType) -> bool
fn eq(&self, other: &ParsedType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl Eq for ParsedType
impl StructuralEq for ParsedType
impl StructuralPartialEq for ParsedType
Auto Trait Implementations
impl RefUnwindSafe for ParsedType
impl Send for ParsedType
impl Sync for ParsedType
impl Unpin for ParsedType
impl UnwindSafe for ParsedType
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