pub struct IncrementCounter {
pub id: CounterId,
}Fields§
§id: CounterIdTrait Implementations§
Source§impl Clone for IncrementCounter
impl Clone for IncrementCounter
Source§fn clone(&self) -> IncrementCounter
fn clone(&self) -> IncrementCounter
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 Debug for IncrementCounter
impl Debug for IncrementCounter
Source§impl From<IncrementCounter> for Request
Available on crate feature counter-client only.
impl From<IncrementCounter> for Request
Available on crate feature
counter-client only.Source§fn from(request: IncrementCounter) -> Self
fn from(request: IncrementCounter) -> Self
Converts to this type from the input type.
Source§impl PartialEq for IncrementCounter
impl PartialEq for IncrementCounter
Source§fn eq(&self, other: &IncrementCounter) -> bool
fn eq(&self, other: &IncrementCounter) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl RequestVariant for IncrementCounter
Available on crate feature counter-client only.
impl RequestVariant for IncrementCounter
Available on crate feature
counter-client only.type Reply = IncrementCounter
Source§impl TryFrom<Request> for IncrementCounter
Available on crate feature counter-client only.
impl TryFrom<Request> for IncrementCounter
Available on crate feature
counter-client only.impl Eq for IncrementCounter
impl StructuralPartialEq for IncrementCounter
Auto Trait Implementations§
impl Freeze for IncrementCounter
impl RefUnwindSafe for IncrementCounter
impl Send for IncrementCounter
impl Sync for IncrementCounter
impl Unpin for IncrementCounter
impl UnsafeUnpin for IncrementCounter
impl UnwindSafe for IncrementCounter
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