pub struct SupportedKind {
pub x402_version: u32,
pub scheme: String,
pub network: String,
pub metadata: Option<Value>,
}Expand description
Individual supported payment scheme and network
Fields§
§x402_version: u32Protocol version
scheme: StringPayment scheme identifier
network: StringBlockchain network identifier
metadata: Option<Value>Additional metadata provided by the facilitator
Trait Implementations§
Source§impl Clone for SupportedKind
impl Clone for SupportedKind
Source§fn clone(&self) -> SupportedKind
fn clone(&self) -> SupportedKind
Returns a duplicate of the value. Read more
1.0.0 · 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 SupportedKind
impl Debug for SupportedKind
Source§impl<'de> Deserialize<'de> for SupportedKind
impl<'de> Deserialize<'de> for SupportedKind
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 Freeze for SupportedKind
impl RefUnwindSafe for SupportedKind
impl Send for SupportedKind
impl Sync for SupportedKind
impl Unpin for SupportedKind
impl UnwindSafe for SupportedKind
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