Struct algonaut_transaction::transaction::StateSchema
source · [−]Expand description
Storage state schema. The StateSchema object is only required for the create application call transaction. The StateSchema object must be fully populated for both the GlobalStateSchema and LocalStateSchema objects.
Fields
number_ints: u64
Maximum number of integer values that may be stored in the [global || local] application key/value store. Immutable.
number_byteslices: u64
Maximum number of byte slices values that may be stored in the [global || local] application key/value store. Immutable.
Trait Implementations
sourceimpl Clone for StateSchema
impl Clone for StateSchema
sourcefn clone(&self) -> StateSchema
fn clone(&self) -> StateSchema
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for StateSchema
impl Debug for StateSchema
sourceimpl From<ApiStateSchema> for StateSchema
impl From<ApiStateSchema> for StateSchema
sourcefn from(state_schema: ApiStateSchema) -> Self
fn from(state_schema: ApiStateSchema) -> Self
Converts to this type from the input type.
sourceimpl From<StateSchema> for Option<ApiStateSchema>
impl From<StateSchema> for Option<ApiStateSchema>
sourcefn from(state_schema: StateSchema) -> Self
fn from(state_schema: StateSchema) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<StateSchema> for StateSchema
impl PartialEq<StateSchema> for StateSchema
sourcefn eq(&self, other: &StateSchema) -> bool
fn eq(&self, other: &StateSchema) -> bool
impl Eq for StateSchema
impl StructuralEq for StateSchema
impl StructuralPartialEq for StateSchema
Auto Trait Implementations
impl RefUnwindSafe for StateSchema
impl Send for StateSchema
impl Sync for StateSchema
impl Unpin for StateSchema
impl UnwindSafe for StateSchema
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.