pub struct ExecutionReceiptId(/* private fields */);Expand description
Deterministic identity of the sole terminal receipt for an operation.
Implementations§
Source§impl ExecutionReceiptId
impl ExecutionReceiptId
pub fn new(value: impl Into<String>) -> Result<Self, DomainError>
pub fn for_operation(operation_id: &ExecutionOperationId) -> Self
pub fn as_str(&self) -> &str
Trait Implementations§
Source§impl Clone for ExecutionReceiptId
impl Clone for ExecutionReceiptId
Source§fn clone(&self) -> ExecutionReceiptId
fn clone(&self) -> ExecutionReceiptId
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ExecutionReceiptId
impl Debug for ExecutionReceiptId
Source§impl<'de> Deserialize<'de> for ExecutionReceiptId
impl<'de> Deserialize<'de> for ExecutionReceiptId
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 Display for ExecutionReceiptId
impl Display for ExecutionReceiptId
impl Eq for ExecutionReceiptId
Source§impl From<ExecutionReceiptId> for String
impl From<ExecutionReceiptId> for String
Source§fn from(value: ExecutionReceiptId) -> Self
fn from(value: ExecutionReceiptId) -> Self
Converts to this type from the input type.
Source§impl Hash for ExecutionReceiptId
impl Hash for ExecutionReceiptId
Source§impl Ord for ExecutionReceiptId
impl Ord for ExecutionReceiptId
Source§fn cmp(&self, other: &ExecutionReceiptId) -> Ordering
fn cmp(&self, other: &ExecutionReceiptId) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ExecutionReceiptId
impl PartialEq for ExecutionReceiptId
Source§impl PartialOrd for ExecutionReceiptId
impl PartialOrd for ExecutionReceiptId
Source§impl Serialize for ExecutionReceiptId
impl Serialize for ExecutionReceiptId
impl StructuralPartialEq for ExecutionReceiptId
Auto Trait Implementations§
impl Freeze for ExecutionReceiptId
impl RefUnwindSafe for ExecutionReceiptId
impl Send for ExecutionReceiptId
impl Sync for ExecutionReceiptId
impl Unpin for ExecutionReceiptId
impl UnsafeUnpin for ExecutionReceiptId
impl UnwindSafe for ExecutionReceiptId
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