pub struct Interest {
pub mailbox: String,
pub outgoing: bool,
}Fields§
§mailbox: String§outgoing: boolWriters watch receiver checkpoints; readers watch new packets.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Interest
impl<'de> Deserialize<'de> for Interest
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 Interest
Source§impl Ord for Interest
impl Ord for Interest
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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for Interest
impl PartialOrd for Interest
impl StructuralPartialEq for Interest
Auto Trait Implementations§
impl Forget for Interest
impl Freeze for Interest
impl Move for Interest
impl RefUnwindSafe for Interest
impl Send for Interestwhere
RawVecInner: Send,
impl Sync for Interestwhere
RawVecInner: Sync,
impl Unpin for Interest
impl UnsafeUnpin for Interest
impl UnwindSafe for Interestwhere
RawVecInner: UnwindSafe,
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