pub struct PollChannelResponse {
pub id: ChannelID,
pub selectors: BTreeMap<u32, u64>,
}Fields§
§id: ChannelID§selectors: BTreeMap<u32, u64>Trait Implementations§
Source§impl Clone for PollChannelResponse
impl Clone for PollChannelResponse
Source§fn clone(&self) -> PollChannelResponse
fn clone(&self) -> PollChannelResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for PollChannelResponse
impl<'de> Deserialize<'de> for PollChannelResponse
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 Eq for PollChannelResponse
Source§impl Hash for PollChannelResponse
impl Hash for PollChannelResponse
Source§impl Ord for PollChannelResponse
impl Ord for PollChannelResponse
Source§fn cmp(&self, other: &PollChannelResponse) -> Ordering
fn cmp(&self, other: &PollChannelResponse) -> Ordering
1.21.0 (const: unstable) · 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 PollChannelResponse
impl PartialEq for PollChannelResponse
Source§fn eq(&self, other: &PollChannelResponse) -> bool
fn eq(&self, other: &PollChannelResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for PollChannelResponse
impl PartialOrd for PollChannelResponse
Source§impl Serialize for PollChannelResponse
impl Serialize for PollChannelResponse
impl StructuralPartialEq for PollChannelResponse
Auto Trait Implementations§
impl Freeze for PollChannelResponse
impl RefUnwindSafe for PollChannelResponse
impl Send for PollChannelResponse
impl Sync for PollChannelResponse
impl Unpin for PollChannelResponse
impl UnsafeUnpin for PollChannelResponse
impl UnwindSafe for PollChannelResponse
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