pub struct Receipt {
pub operation_id: String,
pub state: String,
pub result: Option<ResultValue>,
pub code: Option<String>,
pub message: String,
pub possible_effects: bool,
pub observed: Box<Observation>,
}Fields§
§operation_id: String§state: String§result: Option<ResultValue>§code: Option<String>§message: String§possible_effects: bool§observed: Box<Observation>Implementations§
Source§impl Receipt
impl Receipt
pub fn from_core(r: &OperationReceipt) -> Result<Self, CoreError>
pub fn core(&self, t: &TargetIdentity) -> Result<OperationReceipt, CoreError>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Receipt
impl<'de> Deserialize<'de> for Receipt
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
impl Eq for Receipt
impl StructuralPartialEq for Receipt
Auto Trait Implementations§
impl Forget for Receipt
impl Freeze for Receipt
impl RefUnwindSafe for Receipt
impl Send for Receipt
impl Sync for Receipt
impl Unpin for Receipt
impl UnsafeUnpin for Receipt
impl UnwindSafe for Receipt
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