pub struct PaymentPayloadX402Version(/* private fields */);Expand description
PaymentPayloadX402Version
JSON schema
{
"type": "integer",
"enum": [
2
]
}Trait Implementations§
Source§impl Clone for PaymentPayloadX402Version
impl Clone for PaymentPayloadX402Version
Source§fn clone(&self) -> PaymentPayloadX402Version
fn clone(&self) -> PaymentPayloadX402Version
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 PaymentPayloadX402Version
impl Debug for PaymentPayloadX402Version
Source§impl Deref for PaymentPayloadX402Version
impl Deref for PaymentPayloadX402Version
Source§impl<'de> Deserialize<'de> for PaymentPayloadX402Version
impl<'de> Deserialize<'de> for PaymentPayloadX402Version
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 From<PaymentPayloadX402Version> for i64
impl From<PaymentPayloadX402Version> for i64
Source§fn from(value: PaymentPayloadX402Version) -> Self
fn from(value: PaymentPayloadX402Version) -> Self
Converts to this type from the input type.
Source§impl TryFrom<i64> for PaymentPayloadX402Version
impl TryFrom<i64> for PaymentPayloadX402Version
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for PaymentPayloadX402Version
impl RefUnwindSafe for PaymentPayloadX402Version
impl Send for PaymentPayloadX402Version
impl Sync for PaymentPayloadX402Version
impl Unpin for PaymentPayloadX402Version
impl UnsafeUnpin for PaymentPayloadX402Version
impl UnwindSafe for PaymentPayloadX402Version
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