[][src]Struct cw_storage::SeqVal

pub struct SeqVal(pub u64);

SeqVal holds a u64 sequence counter but wraps it as a newtype for clarity but mainly to be able to derive NamedType. If named_type included a default derivation for u64 and other primitives, we could just use a u64 here.

Trait Implementations

impl Clone for SeqVal[src]

impl Copy for SeqVal[src]

impl Debug for SeqVal[src]

impl Default for SeqVal[src]

impl<'de> Deserialize<'de> for SeqVal[src]

impl JsonSchema for SeqVal[src]

impl NamedType for SeqVal[src]

impl PartialEq<SeqVal> for SeqVal[src]

impl Serialize for SeqVal[src]

impl StructuralPartialEq for SeqVal[src]

Auto Trait Implementations

impl RefUnwindSafe for SeqVal

impl Send for SeqVal

impl Sync for SeqVal

impl Unpin for SeqVal

impl UnwindSafe for SeqVal

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.