pub struct ConsoleApiCalled {
pub method: ConsoleApiCalledMethod,
pub params: ConsoleApiCalledParams,
}Expand description
Issued when console API was called. consoleAPICalled
Fields§
§method: ConsoleApiCalledMethod§params: ConsoleApiCalledParamsImplementations§
Source§impl ConsoleApiCalled
impl ConsoleApiCalled
pub const IDENTIFIER: &'static str = "Runtime.consoleAPICalled"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for ConsoleApiCalled
impl Clone for ConsoleApiCalled
Source§fn clone(&self) -> ConsoleApiCalled
fn clone(&self) -> ConsoleApiCalled
Returns a duplicate 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 ConsoleApiCalled
impl Debug for ConsoleApiCalled
Source§impl<'de> Deserialize<'de> for ConsoleApiCalled
impl<'de> Deserialize<'de> for ConsoleApiCalled
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
Source§impl From<ConsoleApiCalled> for Event
impl From<ConsoleApiCalled> for Event
Source§fn from(v: ConsoleApiCalled) -> Self
fn from(v: ConsoleApiCalled) -> Self
Converts to this type from the input type.
Source§impl From<ConsoleApiCalled> for JsProtocolEvents
impl From<ConsoleApiCalled> for JsProtocolEvents
Source§fn from(v: ConsoleApiCalled) -> Self
fn from(v: ConsoleApiCalled) -> Self
Converts to this type from the input type.
Source§impl From<ConsoleApiCalled> for RuntimeEvents
impl From<ConsoleApiCalled> for RuntimeEvents
Source§fn from(v: ConsoleApiCalled) -> Self
fn from(v: ConsoleApiCalled) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ConsoleApiCalled
impl PartialEq for ConsoleApiCalled
Source§impl Serialize for ConsoleApiCalled
impl Serialize for ConsoleApiCalled
Source§impl TryFrom<Event> for ConsoleApiCalled
impl TryFrom<Event> for ConsoleApiCalled
Source§impl TryFrom<JsProtocolEvents> for ConsoleApiCalled
impl TryFrom<JsProtocolEvents> for ConsoleApiCalled
Source§type Error = JsProtocolEvents
type Error = JsProtocolEvents
The type returned in the event of a conversion error.
Source§fn try_from(
e: JsProtocolEvents,
) -> Result<Self, <ConsoleApiCalled as TryFrom<JsProtocolEvents>>::Error>
fn try_from( e: JsProtocolEvents, ) -> Result<Self, <ConsoleApiCalled as TryFrom<JsProtocolEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<RuntimeEvents> for ConsoleApiCalled
impl TryFrom<RuntimeEvents> for ConsoleApiCalled
Source§type Error = RuntimeEvents
type Error = RuntimeEvents
The type returned in the event of a conversion error.
Source§fn try_from(
e: RuntimeEvents,
) -> Result<Self, <ConsoleApiCalled as TryFrom<RuntimeEvents>>::Error>
fn try_from( e: RuntimeEvents, ) -> Result<Self, <ConsoleApiCalled as TryFrom<RuntimeEvents>>::Error>
Performs the conversion.
impl StructuralPartialEq for ConsoleApiCalled
Auto Trait Implementations§
impl Freeze for ConsoleApiCalled
impl RefUnwindSafe for ConsoleApiCalled
impl Send for ConsoleApiCalled
impl Sync for ConsoleApiCalled
impl Unpin for ConsoleApiCalled
impl UnsafeUnpin for ConsoleApiCalled
impl UnwindSafe for ConsoleApiCalled
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