pub struct ProcessedModule {
pub encoded_task: Bytes,
pub task_commitment: B256,
pub result_commitment: B256,
pub task_proof: Vec<B256>,
pub result_proof: Vec<B256>,
pub inputs: Vec<FieldElement>,
pub module_class: CasmContractClass,
}Fields§
§encoded_task: Bytesencoded computational task
task_commitment: B256§result_commitment: B256§task_proof: Vec<B256>§result_proof: Vec<B256>§inputs: Vec<FieldElement>§module_class: CasmContractClassDetail class code of the module. This will be loaded to bootloader.
Implementations§
Source§impl ProcessedModule
impl ProcessedModule
pub fn as_dry_run_cairo_format(&self) -> DryRunProcessedModule
Trait Implementations§
Source§impl AsCairoFormat for ProcessedModule
impl AsCairoFormat for ProcessedModule
type Output = ProcessedModule
fn as_cairo_format(&self) -> Self::Output
Source§impl Clone for ProcessedModule
impl Clone for ProcessedModule
Source§fn clone(&self) -> ProcessedModule
fn clone(&self) -> ProcessedModule
Returns a duplicate 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 Debug for ProcessedModule
impl Debug for ProcessedModule
Source§impl<'de> Deserialize<'de> for ProcessedModule
impl<'de> Deserialize<'de> for ProcessedModule
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 ProcessedModule
impl PartialEq for ProcessedModule
Source§impl Serialize for ProcessedModule
impl Serialize for ProcessedModule
impl StructuralPartialEq for ProcessedModule
Auto Trait Implementations§
impl !Freeze for ProcessedModule
impl RefUnwindSafe for ProcessedModule
impl Send for ProcessedModule
impl Sync for ProcessedModule
impl Unpin for ProcessedModule
impl UnwindSafe for ProcessedModule
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more