pub struct SignedExchangeReceived {
pub method: SignedExchangeReceivedMethod,
pub params: SignedExchangeReceivedParams,
}Expand description
Fired when a signed exchange was received over the network signedExchangeReceived
Fields§
§method: SignedExchangeReceivedMethod§params: SignedExchangeReceivedParamsImplementations§
Source§impl SignedExchangeReceived
impl SignedExchangeReceived
pub const IDENTIFIER: &'static str = "Network.signedExchangeReceived"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for SignedExchangeReceived
impl Clone for SignedExchangeReceived
Source§fn clone(&self) -> SignedExchangeReceived
fn clone(&self) -> SignedExchangeReceived
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 SignedExchangeReceived
impl Debug for SignedExchangeReceived
Source§impl<'de> Deserialize<'de> for SignedExchangeReceived
impl<'de> Deserialize<'de> for SignedExchangeReceived
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<SignedExchangeReceived> for BrowserProtocolEvents
impl From<SignedExchangeReceived> for BrowserProtocolEvents
Source§fn from(v: SignedExchangeReceived) -> Self
fn from(v: SignedExchangeReceived) -> Self
Converts to this type from the input type.
Source§impl From<SignedExchangeReceived> for Event
impl From<SignedExchangeReceived> for Event
Source§fn from(v: SignedExchangeReceived) -> Self
fn from(v: SignedExchangeReceived) -> Self
Converts to this type from the input type.
Source§impl From<SignedExchangeReceived> for NetworkEvents
impl From<SignedExchangeReceived> for NetworkEvents
Source§fn from(v: SignedExchangeReceived) -> Self
fn from(v: SignedExchangeReceived) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SignedExchangeReceived
impl PartialEq for SignedExchangeReceived
Source§impl Serialize for SignedExchangeReceived
impl Serialize for SignedExchangeReceived
Source§impl TryFrom<BrowserProtocolEvents> for SignedExchangeReceived
impl TryFrom<BrowserProtocolEvents> for SignedExchangeReceived
Source§type Error = BrowserProtocolEvents
type Error = BrowserProtocolEvents
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserProtocolEvents,
) -> Result<Self, <SignedExchangeReceived as TryFrom<BrowserProtocolEvents>>::Error>
fn try_from( e: BrowserProtocolEvents, ) -> Result<Self, <SignedExchangeReceived as TryFrom<BrowserProtocolEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<Event> for SignedExchangeReceived
impl TryFrom<Event> for SignedExchangeReceived
Source§impl TryFrom<NetworkEvents> for SignedExchangeReceived
impl TryFrom<NetworkEvents> for SignedExchangeReceived
Source§type Error = NetworkEvents
type Error = NetworkEvents
The type returned in the event of a conversion error.
Source§fn try_from(
e: NetworkEvents,
) -> Result<Self, <SignedExchangeReceived as TryFrom<NetworkEvents>>::Error>
fn try_from( e: NetworkEvents, ) -> Result<Self, <SignedExchangeReceived as TryFrom<NetworkEvents>>::Error>
Performs the conversion.
impl StructuralPartialEq for SignedExchangeReceived
Auto Trait Implementations§
impl Freeze for SignedExchangeReceived
impl RefUnwindSafe for SignedExchangeReceived
impl Send for SignedExchangeReceived
impl Sync for SignedExchangeReceived
impl Unpin for SignedExchangeReceived
impl UnsafeUnpin for SignedExchangeReceived
impl UnwindSafe for SignedExchangeReceived
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