pub enum GetTransactionResponse {
Delegate(Principal, Option<Witness>),
Found(Option<Event>, Option<Witness>),
}Variants
Delegate(Principal, Option<Witness>)
Found(Option<Event>, Option<Witness>)
Trait Implementations
sourceimpl CandidType for GetTransactionResponse
impl CandidType for GetTransactionResponse
sourceimpl<'de> Deserialize<'de> for GetTransactionResponse
impl<'de> Deserialize<'de> for GetTransactionResponse
sourcefn deserialize<__D>(
__deserializer: __D
) -> Result<GetTransactionResponse, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<GetTransactionResponse, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Serialize for GetTransactionResponse
impl Serialize for GetTransactionResponse
sourcefn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for GetTransactionResponse
impl Send for GetTransactionResponse
impl Sync for GetTransactionResponse
impl Unpin for GetTransactionResponse
impl UnwindSafe for GetTransactionResponse
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