pub enum StarknetFunctionRequestType {
Routine(Vec<u8>),
Request(Vec<u8>),
}
Expand description
Starknet Result Info
Variants§
Implementations§
§impl StarknetFunctionRequestType
impl StarknetFunctionRequestType
pub fn is_routine(&self) -> bool
pub fn is_request(&self) -> bool
Trait Implementations§
§impl Clone for StarknetFunctionRequestType
impl Clone for StarknetFunctionRequestType
§fn clone(&self) -> StarknetFunctionRequestType
fn clone(&self) -> StarknetFunctionRequestType
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 more§impl Debug for StarknetFunctionRequestType
impl Debug for StarknetFunctionRequestType
§impl Default for StarknetFunctionRequestType
impl Default for StarknetFunctionRequestType
§fn default() -> StarknetFunctionRequestType
fn default() -> StarknetFunctionRequestType
Returns the “default value” for a type. Read more
§impl<'de> Deserialize<'de> for StarknetFunctionRequestType
impl<'de> Deserialize<'de> for StarknetFunctionRequestType
§fn deserialize<__D>(
__deserializer: __D
) -> Result<StarknetFunctionRequestType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<StarknetFunctionRequestType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl PartialEq for StarknetFunctionRequestType
impl PartialEq for StarknetFunctionRequestType
§fn eq(&self, other: &StarknetFunctionRequestType) -> bool
fn eq(&self, other: &StarknetFunctionRequestType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl Serialize for StarknetFunctionRequestType
impl Serialize for StarknetFunctionRequestType
§fn 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
impl StructuralPartialEq for StarknetFunctionRequestType
Auto Trait Implementations§
impl RefUnwindSafe for StarknetFunctionRequestType
impl Send for StarknetFunctionRequestType
impl Sync for StarknetFunctionRequestType
impl Unpin for StarknetFunctionRequestType
impl UnwindSafe for StarknetFunctionRequestType
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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