pub struct FeeStorageVersion {
pub storage_disk_usage_credit_per_byte: u64,
pub storage_processing_credit_per_byte: u64,
pub storage_load_credit_per_byte: u64,
pub non_storage_load_credit_per_byte: u64,
pub storage_seek_cost: u64,
pub ttl_ephemeral_disk_usage_credit_per_byte: u64,
}Fields§
§storage_disk_usage_credit_per_byte: u64§storage_processing_credit_per_byte: u64§storage_load_credit_per_byte: u64§non_storage_load_credit_per_byte: u64§storage_seek_cost: u64§ttl_ephemeral_disk_usage_credit_per_byte: u64Credits charged per byte written under a TTL’d timeRange index
subtree, billed to PROCESSING in place of the storage fee: the
bytes provably live at most one week (the ttl cap) plus a
bounded drainage lag, so charging them the perpetual-retention
storage price would overprice them by orders of magnitude. Zero
until protocol version 14 — the ttl grammar does not parse
before it, so no ephemeral-classified operation can exist.
Trait Implementations§
Source§impl<'__de, __Context> BorrowDecode<'__de, __Context> for FeeStorageVersion
impl<'__de, __Context> BorrowDecode<'__de, __Context> for FeeStorageVersion
Source§fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>(
decoder: &mut __D,
) -> Result<Self, DecodeError>
fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>( decoder: &mut __D, ) -> Result<Self, DecodeError>
Attempt to decode this type with the given BorrowDecode.
Source§impl Clone for FeeStorageVersion
impl Clone for FeeStorageVersion
Source§fn clone(&self) -> FeeStorageVersion
fn clone(&self) -> FeeStorageVersion
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 FeeStorageVersion
impl Debug for FeeStorageVersion
Source§impl<__Context> Decode<__Context> for FeeStorageVersion
impl<__Context> Decode<__Context> for FeeStorageVersion
Source§impl Default for FeeStorageVersion
impl Default for FeeStorageVersion
Source§fn default() -> FeeStorageVersion
fn default() -> FeeStorageVersion
Returns the “default value” for a type. Read more
Source§impl Encode for FeeStorageVersion
impl Encode for FeeStorageVersion
impl Eq for FeeStorageVersion
Source§impl From<FeeStorageVersionFieldsBeforeVersion4> for FeeStorageVersion
impl From<FeeStorageVersionFieldsBeforeVersion4> for FeeStorageVersion
Source§fn from(value: FeeStorageVersionFieldsBeforeVersion4) -> Self
fn from(value: FeeStorageVersionFieldsBeforeVersion4) -> Self
Converts to this type from the input type.
Source§impl PartialEq for FeeStorageVersion
impl PartialEq for FeeStorageVersion
Source§fn eq(&self, other: &FeeStorageVersion) -> bool
fn eq(&self, other: &FeeStorageVersion) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FeeStorageVersion
Auto Trait Implementations§
impl Freeze for FeeStorageVersion
impl RefUnwindSafe for FeeStorageVersion
impl Send for FeeStorageVersion
impl Sync for FeeStorageVersion
impl Unpin for FeeStorageVersion
impl UnsafeUnpin for FeeStorageVersion
impl UnwindSafe for FeeStorageVersion
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<T, U> IntoPlatformVersioned<U> for Twhere
U: FromPlatformVersioned<T>,
impl<T, U> IntoPlatformVersioned<U> for Twhere
U: FromPlatformVersioned<T>,
Source§fn into_platform_versioned(self, platform_version: &PlatformVersion) -> U
fn into_platform_versioned(self, platform_version: &PlatformVersion) -> U
Performs the conversion.
Source§impl<T, U> TryIntoPlatformVersioned<U> for Twhere
U: TryFromPlatformVersioned<T>,
impl<T, U> TryIntoPlatformVersioned<U> for Twhere
U: TryFromPlatformVersioned<T>,
Source§type Error = <U as TryFromPlatformVersioned<T>>::Error
type Error = <U as TryFromPlatformVersioned<T>>::Error
The type returned in the event of a conversion error.
Source§fn try_into_platform_versioned(
self,
platform_version: &PlatformVersion,
) -> Result<U, <U as TryFromPlatformVersioned<T>>::Error>
fn try_into_platform_versioned( self, platform_version: &PlatformVersion, ) -> Result<U, <U as TryFromPlatformVersioned<T>>::Error>
Performs the conversion.