Struct offchain::types::StatusObject [−][src]
pub struct StatusObject {
pub status: Status,
pub abort_code: Option<AbortCode>,
pub abort_message: Option<String>,
}Fields
status: StatusStatus of the payment from the perspective of this actor. This field can only be set by the respective sender/receiver VASP and represents the status on the sender/receiver VASP side. This field is mandatory by this respective actor (either sender or receiver side) and mutable.
abort_code: Option<AbortCode>In the case of an abort status, this field may be used to describe the reason for the
abort. Represents the error code of the corresponding error.
abort_message: Option<String>Additional details about this error. To be used only when abort_code is populated.
Implementations
Trait Implementations
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
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for StatusObject
impl Send for StatusObject
impl Sync for StatusObject
impl Unpin for StatusObject
impl UnwindSafe for StatusObject
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
type Output = T
type Output = T
Should always be Self
Generates a hash used only for tests.