Struct ic_web3_rs::api::SubscriptionId
source · pub struct SubscriptionId(/* private fields */);
Expand description
ID of subscription returned from eth_subscribe
Trait Implementations§
source§impl Clone for SubscriptionId
impl Clone for SubscriptionId
source§fn clone(&self) -> SubscriptionId
fn clone(&self) -> SubscriptionId
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 SubscriptionId
impl Debug for SubscriptionId
source§impl From<String> for SubscriptionId
impl From<String> for SubscriptionId
source§impl Ord for SubscriptionId
impl Ord for SubscriptionId
source§fn cmp(&self, other: &SubscriptionId) -> Ordering
fn cmp(&self, other: &SubscriptionId) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for SubscriptionId
impl PartialEq for SubscriptionId
source§fn eq(&self, other: &SubscriptionId) -> bool
fn eq(&self, other: &SubscriptionId) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for SubscriptionId
impl PartialOrd for SubscriptionId
source§fn partial_cmp(&self, other: &SubscriptionId) -> Option<Ordering>
fn partial_cmp(&self, other: &SubscriptionId) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for SubscriptionId
impl StructuralEq for SubscriptionId
impl StructuralPartialEq for SubscriptionId
Auto Trait Implementations§
impl RefUnwindSafe for SubscriptionId
impl Send for SubscriptionId
impl Sync for SubscriptionId
impl Unpin for SubscriptionId
impl UnwindSafe for SubscriptionId
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