pub struct RawResult {
pub success: bool,
pub data: Bytes,
}
Fields§
§success: bool
§data: Bytes
Trait Implementations§
Source§impl AbiType for RawResult
impl AbiType for RawResult
Source§fn param_type() -> ParamType
fn param_type() -> ParamType
The native ABI type this type represents.
Source§fn minimum_size() -> usize
fn minimum_size() -> usize
A hint of the minimum number of bytes this type takes up in the ABI.
Source§impl Tokenizable for RawResult
impl Tokenizable for RawResult
Source§fn from_token(token: Token) -> Result<Self, InvalidOutputType>
fn from_token(token: Token) -> Result<Self, InvalidOutputType>
Converts a
Token
into expected type.Source§fn into_token(self) -> Token
fn into_token(self) -> Token
Converts a specified type back into token.
impl AbiArrayType for RawResult
impl TokenizableItem for RawResult
Auto Trait Implementations§
impl !Freeze for RawResult
impl RefUnwindSafe for RawResult
impl Send for RawResult
impl Sync for RawResult
impl Unpin for RawResult
impl UnwindSafe for RawResult
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Detokenize for Twhere
T: Tokenizable,
impl<T> Detokenize for Twhere
T: Tokenizable,
Source§fn from_tokens(tokens: Vec<Token>) -> Result<T, InvalidOutputType>
fn from_tokens(tokens: Vec<Token>) -> Result<T, InvalidOutputType>
Creates a new instance from parsed ABI tokens.
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> Tokenize for Twhere
T: Tokenizable,
impl<T> Tokenize for Twhere
T: Tokenizable,
Source§fn into_tokens(self) -> Vec<Token>
fn into_tokens(self) -> Vec<Token>
Converts
self
into a Vec<Token>
.