pub struct RawStructuredLog<'a> {
pub program_id: &'a str,
pub depth: u8,
pub result: RawProgramResult<'a>,
pub program_logs: Vec<RawProgramLog<'a>>,
pub data_logs: Vec<RawDataLog<'a>>,
pub return_data: Option<&'a str>,
pub compute_log: Option<ComputeUnits>,
pub cpi_logs: Vec<RawStructuredLog<'a>>,
pub raw_logs: Vec<&'a str>,
}
Expand description
A Raw Structured Log
Fields§
§program_id: &'a str
§depth: u8
§result: RawProgramResult<'a>
§program_logs: Vec<RawProgramLog<'a>>
§data_logs: Vec<RawDataLog<'a>>
§return_data: Option<&'a str>
§compute_log: Option<ComputeUnits>
§cpi_logs: Vec<RawStructuredLog<'a>>
§raw_logs: Vec<&'a str>
Implementations§
Source§impl<'a> RawStructuredLog<'a>
impl<'a> RawStructuredLog<'a>
Trait Implementations§
Source§impl<'a> Clone for RawStructuredLog<'a>
impl<'a> Clone for RawStructuredLog<'a>
Source§fn clone(&self) -> RawStructuredLog<'a>
fn clone(&self) -> RawStructuredLog<'a>
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<'a> Debug for RawStructuredLog<'a>
impl<'a> Debug for RawStructuredLog<'a>
Source§impl<'a> PartialEq for RawStructuredLog<'a>
impl<'a> PartialEq for RawStructuredLog<'a>
impl<'a> Eq for RawStructuredLog<'a>
impl<'a> StructuralPartialEq for RawStructuredLog<'a>
Auto Trait Implementations§
impl<'a> Freeze for RawStructuredLog<'a>
impl<'a> RefUnwindSafe for RawStructuredLog<'a>
impl<'a> Send for RawStructuredLog<'a>
impl<'a> Sync for RawStructuredLog<'a>
impl<'a> Unpin for RawStructuredLog<'a>
impl<'a> UnwindSafe for RawStructuredLog<'a>
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