#[non_exhaustive]pub struct TraceListResponse {
pub items: Vec<TraceItem>,
pub schema: String,
}Expand description
The summaries list for one session. schema stamps the projection
generation the rows were derived against — the same stamp the composite
carries — so every trace-grain response is self-describing, not just the
composite.
Models the contract’s TraceListResponse 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.items: Vec<TraceItem>The contract’s items.
schema: StringThe contract’s schema.
Trait Implementations§
Source§impl Clone for TraceListResponse
impl Clone for TraceListResponse
Source§fn clone(&self) -> TraceListResponse
fn clone(&self) -> TraceListResponse
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 ContractModel for TraceListResponse
impl ContractModel for TraceListResponse
Source§impl Debug for TraceListResponse
impl Debug for TraceListResponse
Source§impl Default for TraceListResponse
impl Default for TraceListResponse
Source§fn default() -> TraceListResponse
fn default() -> TraceListResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TraceListResponsewhere
TraceListResponse: Default,
impl<'de> Deserialize<'de> for TraceListResponsewhere
TraceListResponse: 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
Source§impl PartialEq for TraceListResponse
impl PartialEq for TraceListResponse
Source§impl Serialize for TraceListResponse
impl Serialize for TraceListResponse
impl StructuralPartialEq for TraceListResponse
Auto Trait Implementations§
impl Freeze for TraceListResponse
impl RefUnwindSafe for TraceListResponse
impl Send for TraceListResponse
impl Sync for TraceListResponse
impl Unpin for TraceListResponse
impl UnsafeUnpin for TraceListResponse
impl UnwindSafe for TraceListResponse
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