Struct offchain::types::PaymentCommandObject
source · pub struct PaymentCommandObject { /* private fields */ }
Implementations§
source§impl PaymentCommandObject
impl PaymentCommandObject
pub fn new(payment: PaymentObject) -> Self
pub fn payment(&self) -> &PaymentObject
pub fn into_payment(self) -> PaymentObject
Trait Implementations§
source§impl<'de> Deserialize<'de> for PaymentCommandObject
impl<'de> Deserialize<'de> for PaymentCommandObject
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 RefUnwindSafe for PaymentCommandObject
impl Send for PaymentCommandObject
impl Sync for PaymentCommandObject
impl Unpin for PaymentCommandObject
impl UnwindSafe for PaymentCommandObject
Blanket Implementations§
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>
§impl<T> TestOnlyHash for Twhere
T: Serialize + ?Sized,
impl<T> TestOnlyHash for Twhere T: Serialize + ?Sized,
§fn test_only_hash(&self) -> HashValue
fn test_only_hash(&self) -> HashValue
Generates a hash used only for tests.