pub struct StateSchema {
pub num_uints: u64,
pub num_byte_slices: u64,
}
Expand description
Schema for application state storage.
Defines the maximum number of values that may be stored in application key/value storage for both global and local state.
Fields§
§num_uints: u64
Maximum number of integer values that may be stored.
num_byte_slices: u64
Maximum number of byte slice values that may be stored.
Trait Implementations§
Source§impl Clone for StateSchema
impl Clone for StateSchema
Source§fn clone(&self) -> StateSchema
fn clone(&self) -> StateSchema
Returns a copy of the value. Read more
1.0.0 · 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 StateSchema
impl Debug for StateSchema
Source§impl<'de> Deserialize<'de> for StateSchema
impl<'de> Deserialize<'de> for StateSchema
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for StateSchema
impl PartialEq for StateSchema
Source§impl Serialize for StateSchema
impl Serialize for StateSchema
impl StructuralPartialEq for StateSchema
Auto Trait Implementations§
impl Freeze for StateSchema
impl RefUnwindSafe for StateSchema
impl Send for StateSchema
impl Sync for StateSchema
impl Unpin for StateSchema
impl UnwindSafe for StateSchema
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