pub enum StarknetFunctionRequestType {
Routine(Vec<u8>),
Request(Vec<u8>),
}Expand description
Starknet Result Info
Variants§
Implementations§
Source§impl StarknetFunctionRequestType
impl StarknetFunctionRequestType
pub fn is_routine(&self) -> bool
pub fn is_request(&self) -> bool
Trait Implementations§
Source§impl Clone for StarknetFunctionRequestType
impl Clone for StarknetFunctionRequestType
Source§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 moreSource§impl Debug for StarknetFunctionRequestType
impl Debug for StarknetFunctionRequestType
Source§impl<'de> Deserialize<'de> for StarknetFunctionRequestType
impl<'de> Deserialize<'de> for StarknetFunctionRequestType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for StarknetFunctionRequestType
Auto Trait Implementations§
impl Freeze for StarknetFunctionRequestType
impl RefUnwindSafe for StarknetFunctionRequestType
impl Send for StarknetFunctionRequestType
impl Sync for StarknetFunctionRequestType
impl Unpin for StarknetFunctionRequestType
impl UnwindSafe for StarknetFunctionRequestType
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