pub struct IncrementCounter {
pub counter: u128,
}Fields§
§counter: u128Trait 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 Reply
Available on crate feature counter-client only.
impl From<IncrementCounter> for Reply
Available on crate feature
counter-client only.Source§fn from(reply: IncrementCounter) -> Reply
fn from(reply: IncrementCounter) -> Reply
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 ReplyVariant for IncrementCounter
Available on crate feature counter-client only.
impl ReplyVariant for IncrementCounter
Available on crate feature
counter-client only.type Request = IncrementCounter
Source§impl TryFrom<Reply> for IncrementCounter
Available on crate feature counter-client only.
impl TryFrom<Reply> 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