pub struct InitiateTransferResponse {
pub expires_at: f64,
pub ok: bool,
pub plugin_id: String,
pub to_user_id: String,
pub transfer_id: String,
}Expand description
InitiateTransferResponse
JSON schema
{
"type": "object",
"required": [
"expiresAt",
"ok",
"pluginId",
"toUserId",
"transferId"
],
"properties": {
"expiresAt": {
"type": "number"
},
"ok": {
"type": "boolean"
},
"pluginId": {
"type": "string"
},
"toUserId": {
"type": "string"
},
"transferId": {
"type": "string"
}
}
}Fields§
§expires_at: f64§ok: bool§plugin_id: String§to_user_id: String§transfer_id: StringImplementations§
Source§impl InitiateTransferResponse
impl InitiateTransferResponse
pub fn builder() -> InitiateTransferResponse
Trait Implementations§
Source§impl Clone for InitiateTransferResponse
impl Clone for InitiateTransferResponse
Source§fn clone(&self) -> InitiateTransferResponse
fn clone(&self) -> InitiateTransferResponse
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 InitiateTransferResponse
impl Debug for InitiateTransferResponse
Source§impl<'de> Deserialize<'de> for InitiateTransferResponse
impl<'de> Deserialize<'de> for InitiateTransferResponse
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<&InitiateTransferResponse> for InitiateTransferResponse
impl From<&InitiateTransferResponse> for InitiateTransferResponse
Source§fn from(value: &InitiateTransferResponse) -> Self
fn from(value: &InitiateTransferResponse) -> Self
Converts to this type from the input type.
Source§impl From<InitiateTransferResponse> for InitiateTransferResponse
impl From<InitiateTransferResponse> for InitiateTransferResponse
Source§fn from(value: InitiateTransferResponse) -> Self
fn from(value: InitiateTransferResponse) -> Self
Converts to this type from the input type.
Source§impl Serialize for InitiateTransferResponse
impl Serialize for InitiateTransferResponse
Source§impl TryFrom<InitiateTransferResponse> for InitiateTransferResponse
impl TryFrom<InitiateTransferResponse> for InitiateTransferResponse
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: InitiateTransferResponse) -> Result<Self, ConversionError>
fn try_from(value: InitiateTransferResponse) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for InitiateTransferResponse
impl RefUnwindSafe for InitiateTransferResponse
impl Send for InitiateTransferResponse
impl Sync for InitiateTransferResponse
impl Unpin for InitiateTransferResponse
impl UnsafeUnpin for InitiateTransferResponse
impl UnwindSafe for InitiateTransferResponse
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