pub struct VerificationJob {Show 13 fields
pub job_id: String,
pub status: VerifyJobStatus,
pub status_description: Option<String>,
pub message: Option<String>,
pub error_category: Option<String>,
pub class_hash: Option<String>,
pub created_timestamp: Option<f64>,
pub updated_timestamp: Option<f64>,
pub address: Option<String>,
pub contract_file: Option<String>,
pub name: Option<String>,
pub version: Option<String>,
pub license: Option<String>,
}Fields§
§job_id: String§status: VerifyJobStatus§status_description: Option<String>§message: Option<String>§error_category: Option<String>§class_hash: Option<String>§created_timestamp: Option<f64>§updated_timestamp: Option<f64>§address: Option<String>§contract_file: Option<String>§name: Option<String>§version: Option<String>§license: Option<String>Implementations§
Source§impl VerificationJob
impl VerificationJob
pub const fn status(&self) -> &VerifyJobStatus
pub fn class_hash(&self) -> &str
pub fn job_id(&self) -> &str
pub fn name(&self) -> Option<&str>
pub fn contract_file(&self) -> Option<&str>
pub fn status_description(&self) -> Option<&str>
pub fn message(&self) -> Option<&str>
pub fn error_category(&self) -> Option<&str>
pub const fn created_timestamp(&self) -> Option<f64>
pub const fn updated_timestamp(&self) -> Option<f64>
pub fn address(&self) -> Option<&str>
pub fn version(&self) -> Option<&str>
pub fn license(&self) -> Option<&str>
pub const fn is_completed(&self) -> bool
pub const fn has_failed(&self) -> bool
Trait Implementations§
Source§impl Debug for VerificationJob
impl Debug for VerificationJob
Source§impl<'de> Deserialize<'de> for VerificationJob
impl<'de> Deserialize<'de> for VerificationJob
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
Auto Trait Implementations§
impl Freeze for VerificationJob
impl RefUnwindSafe for VerificationJob
impl Send for VerificationJob
impl Sync for VerificationJob
impl Unpin for VerificationJob
impl UnwindSafe for VerificationJob
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> 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