#[non_exhaustive]pub struct TranscriptProjectionStats {
pub files: i32,
pub omitted_records: i32,
pub omitted_types: BTreeMap<String, i32>,
pub projected_records: i32,
pub records: i32,
pub suppressed_by_wire: bool,
}Expand description
The deliberately partial transcript fallback, described.
omitted_types makes forward schema skew visible: unsupported records
remain immutable in raw turns, but do not poison records that can be
projected.
Models the contract’s TranscriptProjectionStats schema.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.files: i32The contract’s files.
omitted_records: i32The contract’s omitted_records.
omitted_types: BTreeMap<String, i32>The contract’s omitted_types.
projected_records: i32The contract’s projected_records.
records: i32The contract’s records.
suppressed_by_wire: boolThe contract’s suppressed_by_wire.
Trait Implementations§
Source§impl Clone for TranscriptProjectionStats
impl Clone for TranscriptProjectionStats
Source§fn clone(&self) -> TranscriptProjectionStats
fn clone(&self) -> TranscriptProjectionStats
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 TranscriptProjectionStats
impl Debug for TranscriptProjectionStats
Source§impl Default for TranscriptProjectionStats
impl Default for TranscriptProjectionStats
Source§fn default() -> TranscriptProjectionStats
fn default() -> TranscriptProjectionStats
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TranscriptProjectionStatswhere
TranscriptProjectionStats: Default,
impl<'de> Deserialize<'de> for TranscriptProjectionStatswhere
TranscriptProjectionStats: Default,
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
impl StructuralPartialEq for TranscriptProjectionStats
Auto Trait Implementations§
impl Freeze for TranscriptProjectionStats
impl RefUnwindSafe for TranscriptProjectionStats
impl Send for TranscriptProjectionStats
impl Sync for TranscriptProjectionStats
impl Unpin for TranscriptProjectionStats
impl UnsafeUnpin for TranscriptProjectionStats
impl UnwindSafe for TranscriptProjectionStats
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