pub struct RespondTransferResponse {
pub ok: bool,
pub status: RespondTransferResponseStatus,
}Expand description
RespondTransferResponse
JSON schema
{
"type": "object",
"required": [
"ok",
"status"
],
"properties": {
"ok": {
"type": "boolean"
},
"status": {
"type": "string",
"enum": [
"accepted",
"rejected",
"cancelled"
]
}
}
}Fields§
§ok: bool§status: RespondTransferResponseStatusImplementations§
Source§impl RespondTransferResponse
impl RespondTransferResponse
pub fn builder() -> RespondTransferResponse
Trait Implementations§
Source§impl Clone for RespondTransferResponse
impl Clone for RespondTransferResponse
Source§fn clone(&self) -> RespondTransferResponse
fn clone(&self) -> RespondTransferResponse
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 RespondTransferResponse
impl Debug for RespondTransferResponse
Source§impl<'de> Deserialize<'de> for RespondTransferResponse
impl<'de> Deserialize<'de> for RespondTransferResponse
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<&RespondTransferResponse> for RespondTransferResponse
impl From<&RespondTransferResponse> for RespondTransferResponse
Source§fn from(value: &RespondTransferResponse) -> Self
fn from(value: &RespondTransferResponse) -> Self
Converts to this type from the input type.
Source§impl From<RespondTransferResponse> for RespondTransferResponse
impl From<RespondTransferResponse> for RespondTransferResponse
Source§fn from(value: RespondTransferResponse) -> Self
fn from(value: RespondTransferResponse) -> Self
Converts to this type from the input type.
Source§impl Serialize for RespondTransferResponse
impl Serialize for RespondTransferResponse
Source§impl TryFrom<RespondTransferResponse> for RespondTransferResponse
impl TryFrom<RespondTransferResponse> for RespondTransferResponse
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: RespondTransferResponse) -> Result<Self, ConversionError>
fn try_from(value: RespondTransferResponse) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for RespondTransferResponse
impl RefUnwindSafe for RespondTransferResponse
impl Send for RespondTransferResponse
impl Sync for RespondTransferResponse
impl Unpin for RespondTransferResponse
impl UnsafeUnpin for RespondTransferResponse
impl UnwindSafe for RespondTransferResponse
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