#[repr(C)]pub struct DbTip {
pub id: u64,
pub storage_long_hash: StorageLongHash,
pub value: ConsensusValue,
pub default_wallet: DeployedContractHash,
pub network_config: NetworkConfig,
}Fields§
§id: u64§storage_long_hash: StorageLongHash§value: ConsensusValue§default_wallet: DeployedContractHashThe chain-configured contract resolved for a root invocation of an address with no deployed contract (see SystemCallHandler::resolve_runtime). Set at genesis from GenesisConfiguration::default_wallet; carried forward verbatim by every subsequent commit, and committed to by this tip’s own ProposalHeader::config_hash through ConfigHashPreimage.
network_config: NetworkConfigThe execution parameters in force for the block that follows this tip.
Set at genesis from GenesisConfiguration::network_config and carried
forward verbatim by every commit: no mechanism changes it after genesis
yet (see ConfigParam).
Trait Implementations§
Source§impl ConstMaxSize for DbTip
impl ConstMaxSize for DbTip
Source§impl ConstMaxSize for DbTip
impl ConstMaxSize for DbTip
Source§impl<'de> Deserialize<'de> for DbTip
impl<'de> Deserialize<'de> for DbTip
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<DbTip, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<DbTip, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl EncodesAs<DbTip> for DbTip
impl Eq for DbTip
Source§impl JsonSchema for DbTip
impl JsonSchema for DbTip
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 DbTip
impl Ord for DbTip
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for DbTip
impl PartialOrd for DbTip
Source§impl<'_r> ReadXDR<'_r> for DbTip
impl<'_r> ReadXDR<'_r> for DbTip
Source§impl Serialize for DbTip
impl Serialize for DbTip
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 StructuralPartialEq for DbTip
Source§impl WriteXDR for DbTip
impl WriteXDR for DbTip
Source§fn write_xdr<F, W>(&self, w: &mut W) -> Result<(), WriteError>where
W: Writer<F>,
fn write_xdr<F, W>(&self, w: &mut W) -> Result<(), WriteError>where
W: Writer<F>,
Writes this value as XDR data to the writer. Read more
Source§unsafe fn write_xdr_unchecked<F, W>(&self, w: &mut W)where
W: WriterUnchecked<F>,
unsafe fn write_xdr_unchecked<F, W>(&self, w: &mut W)where
W: WriterUnchecked<F>,
Writes this value as XDR data to the writer, without runtime checks. Read more
Auto Trait Implementations§
impl Freeze for DbTip
impl RefUnwindSafe for DbTip
impl Send for DbTip
impl Sync for DbTip
impl Unpin for DbTip
impl UnsafeUnpin for DbTip
impl UnwindSafe for DbTip
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