pub struct PaymentPayloadResource {
pub description: Option<String>,
pub mime_type: Option<String>,
pub url: String,
}Expand description
PaymentPayloadResource
JSON schema
{
"type": "object",
"required": [
"url"
],
"properties": {
"description": {
"type": "string"
},
"mimeType": {
"type": "string"
},
"url": {
"type": "string",
"format": "uri"
}
}
}Fields§
§description: Option<String>§mime_type: Option<String>§url: StringImplementations§
Source§impl PaymentPayloadResource
impl PaymentPayloadResource
pub fn builder() -> PaymentPayloadResource
Trait Implementations§
Source§impl Clone for PaymentPayloadResource
impl Clone for PaymentPayloadResource
Source§fn clone(&self) -> PaymentPayloadResource
fn clone(&self) -> PaymentPayloadResource
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 PaymentPayloadResource
impl Debug for PaymentPayloadResource
Source§impl<'de> Deserialize<'de> for PaymentPayloadResource
impl<'de> Deserialize<'de> for PaymentPayloadResource
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<PaymentPayloadResource> for PaymentPayloadResource
impl From<PaymentPayloadResource> for PaymentPayloadResource
Source§fn from(value: PaymentPayloadResource) -> Self
fn from(value: PaymentPayloadResource) -> Self
Converts to this type from the input type.
Source§impl Serialize for PaymentPayloadResource
impl Serialize for PaymentPayloadResource
Source§impl TryFrom<PaymentPayloadResource> for PaymentPayloadResource
impl TryFrom<PaymentPayloadResource> for PaymentPayloadResource
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: PaymentPayloadResource) -> Result<Self, ConversionError>
fn try_from(value: PaymentPayloadResource) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for PaymentPayloadResource
impl RefUnwindSafe for PaymentPayloadResource
impl Send for PaymentPayloadResource
impl Sync for PaymentPayloadResource
impl Unpin for PaymentPayloadResource
impl UnsafeUnpin for PaymentPayloadResource
impl UnwindSafe for PaymentPayloadResource
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