pub struct TypedResponse<T>where
T: TopDecodeMulti,{
pub result: Result<T, TxResponseStatus>,
pub new_issued_token_identifier: Option<String>,
pub logs: Vec<Log>,
pub gas: u64,
pub refund: u64,
}
Fields§
§result: Result<T, TxResponseStatus>
§new_issued_token_identifier: Option<String>
§logs: Vec<Log>
§gas: u64
§refund: u64
Implementations§
Source§impl<T> TypedResponse<T>where
T: TopDecodeMulti,
impl<T> TypedResponse<T>where
T: TopDecodeMulti,
pub fn from_raw(raw_response: &TxResponse) -> Self
Auto Trait Implementations§
impl<T> Freeze for TypedResponse<T>where
T: Freeze,
impl<T> RefUnwindSafe for TypedResponse<T>where
T: RefUnwindSafe,
impl<T> Send for TypedResponse<T>where
T: Send,
impl<T> Sync for TypedResponse<T>where
T: Sync,
impl<T> Unpin for TypedResponse<T>where
T: Unpin,
impl<T> UnwindSafe for TypedResponse<T>where
T: UnwindSafe,
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> InterpretableFrom<T> for T
impl<T> InterpretableFrom<T> for T
fn interpret_from(from: T, _context: &InterpreterContext) -> T
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more