pub struct StoredU64(/* private fields */);Expand description
Fixed-size 64-bit unsigned integer optimized for on-disk storage
Implementations§
Trait Implementations§
Source§impl AddAssign for StoredU64
impl AddAssign for StoredU64
Source§fn add_assign(&mut self, rhs: StoredU64)
fn add_assign(&mut self, rhs: StoredU64)
Performs the
+= operation. Read moreSource§impl Bytes for StoredU64
impl Bytes for StoredU64
Source§impl CheckedSub for StoredU64
impl CheckedSub for StoredU64
Source§impl<'de> Deserialize<'de> for StoredU64
impl<'de> Deserialize<'de> for StoredU64
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<StoredU64, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<StoredU64, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Formattable for StoredU64
impl Formattable for StoredU64
Source§impl From<EmptyOutputIndex> for StoredU64
impl From<EmptyOutputIndex> for StoredU64
Source§fn from(value: EmptyOutputIndex) -> StoredU64
fn from(value: EmptyOutputIndex) -> StoredU64
Converts to this type from the input type.
Source§impl From<MonthIndex> for StoredU64
impl From<MonthIndex> for StoredU64
Source§fn from(value: MonthIndex) -> StoredU64
fn from(value: MonthIndex) -> StoredU64
Converts to this type from the input type.
Source§impl From<OpReturnIndex> for StoredU64
impl From<OpReturnIndex> for StoredU64
Source§fn from(value: OpReturnIndex) -> StoredU64
fn from(value: OpReturnIndex) -> StoredU64
Converts to this type from the input type.
Source§impl From<P2AAddressIndex> for StoredU64
impl From<P2AAddressIndex> for StoredU64
Source§fn from(value: P2AAddressIndex) -> StoredU64
fn from(value: P2AAddressIndex) -> StoredU64
Converts to this type from the input type.
Source§impl From<P2MSOutputIndex> for StoredU64
impl From<P2MSOutputIndex> for StoredU64
Source§fn from(value: P2MSOutputIndex) -> StoredU64
fn from(value: P2MSOutputIndex) -> StoredU64
Converts to this type from the input type.
Source§impl From<P2PK33AddressIndex> for StoredU64
impl From<P2PK33AddressIndex> for StoredU64
Source§fn from(value: P2PK33AddressIndex) -> StoredU64
fn from(value: P2PK33AddressIndex) -> StoredU64
Converts to this type from the input type.
Source§impl From<P2PK65AddressIndex> for StoredU64
impl From<P2PK65AddressIndex> for StoredU64
Source§fn from(value: P2PK65AddressIndex) -> StoredU64
fn from(value: P2PK65AddressIndex) -> StoredU64
Converts to this type from the input type.
Source§impl From<P2PKHAddressIndex> for StoredU64
impl From<P2PKHAddressIndex> for StoredU64
Source§fn from(value: P2PKHAddressIndex) -> StoredU64
fn from(value: P2PKHAddressIndex) -> StoredU64
Converts to this type from the input type.
Source§impl From<P2SHAddressIndex> for StoredU64
impl From<P2SHAddressIndex> for StoredU64
Source§fn from(value: P2SHAddressIndex) -> StoredU64
fn from(value: P2SHAddressIndex) -> StoredU64
Converts to this type from the input type.
Source§impl From<P2TRAddressIndex> for StoredU64
impl From<P2TRAddressIndex> for StoredU64
Source§fn from(value: P2TRAddressIndex) -> StoredU64
fn from(value: P2TRAddressIndex) -> StoredU64
Converts to this type from the input type.
Source§impl From<P2WPKHAddressIndex> for StoredU64
impl From<P2WPKHAddressIndex> for StoredU64
Source§fn from(value: P2WPKHAddressIndex) -> StoredU64
fn from(value: P2WPKHAddressIndex) -> StoredU64
Converts to this type from the input type.
Source§impl From<P2WSHAddressIndex> for StoredU64
impl From<P2WSHAddressIndex> for StoredU64
Source§fn from(value: P2WSHAddressIndex) -> StoredU64
fn from(value: P2WSHAddressIndex) -> StoredU64
Converts to this type from the input type.
Source§impl From<TxOutIndex> for StoredU64
impl From<TxOutIndex> for StoredU64
Source§fn from(value: TxOutIndex) -> StoredU64
fn from(value: TxOutIndex) -> StoredU64
Converts to this type from the input type.
Source§impl From<UnknownOutputIndex> for StoredU64
impl From<UnknownOutputIndex> for StoredU64
Source§fn from(value: UnknownOutputIndex) -> StoredU64
fn from(value: UnknownOutputIndex) -> StoredU64
Converts to this type from the input type.
Source§impl JsonSchema for StoredU64
impl JsonSchema for StoredU64
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl Ord for StoredU64
impl Ord for StoredU64
Source§impl PartialOrd for StoredU64
impl PartialOrd for StoredU64
Source§impl Pco for StoredU64
impl Pco for StoredU64
type NumberType = <u64 as Pco>::NumberType
Source§impl PrintableIndex for StoredU64
impl PrintableIndex for StoredU64
Source§impl Serialize for StoredU64
impl Serialize for StoredU64
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for StoredU64
impl Eq for StoredU64
impl StructuralPartialEq for StoredU64
impl TransparentPco<<u64 as Pco>::NumberType> for StoredU64
Auto Trait Implementations§
impl Freeze for StoredU64
impl RefUnwindSafe for StoredU64
impl Send for StoredU64
impl Sync for StoredU64
impl Unpin for StoredU64
impl UnwindSafe for StoredU64
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> FromInnerSlice<<T as Pco>::NumberType> for Twhere
T: PcoVecValue,
impl<T> FromInnerSlice<<T as Pco>::NumberType> for Twhere
T: PcoVecValue,
const _SIZE_CHECK: ()
const _ALIGN_CHECK: ()
fn from_inner_slice(vec: Vec<<T as Pco>::NumberType>) -> Vec<T>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more