pub struct EffectReplay { /* private fields */ }Implementations§
Source§impl EffectReplay
impl EffectReplay
pub fn new<T>( family: &'static str, receipt_ref: impl Into<String>, receipt_created_at: impl Into<String>, receipt_digest: impl Into<String>, outputs: JsonObject, context: T, ) -> Self
pub fn family(&self) -> &'static str
pub fn receipt_ref(&self) -> &str
pub fn receipt_created_at(&self) -> &str
pub fn receipt_digest(&self) -> &str
pub fn outputs(&self) -> &JsonObject
pub fn context<T: Any>(&self) -> Option<&T>
Trait Implementations§
Source§impl Clone for EffectReplay
impl Clone for EffectReplay
Source§fn clone(&self) -> EffectReplay
fn clone(&self) -> EffectReplay
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 moreAuto Trait Implementations§
impl !RefUnwindSafe for EffectReplay
impl !UnwindSafe for EffectReplay
impl Freeze for EffectReplay
impl Send for EffectReplay
impl Sync for EffectReplay
impl Unpin for EffectReplay
impl UnsafeUnpin for EffectReplay
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