pub struct ListTransfersResponseTransfersItem {Show 13 fields
pub created_at: f64,
pub direction: ListTransfersResponseTransfersItemDirection,
pub expires_at: f64,
pub from_name: String,
pub from_user_id: String,
pub id: String,
pub message: Option<String>,
pub plugin_id: String,
pub plugin_name: String,
pub responded_at: Option<f64>,
pub status: ListTransfersResponseTransfersItemStatus,
pub to_name: String,
pub to_user_id: String,
}Expand description
ListTransfersResponseTransfersItem
JSON schema
{
"type": "object",
"required": [
"createdAt",
"direction",
"expiresAt",
"fromName",
"fromUserId",
"id",
"message",
"pluginId",
"pluginName",
"respondedAt",
"status",
"toName",
"toUserId"
],
"properties": {
"createdAt": {
"type": "number"
},
"direction": {
"type": "string",
"enum": [
"incoming",
"outgoing"
]
},
"expiresAt": {
"type": "number"
},
"fromName": {
"type": "string"
},
"fromUserId": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": [
"string",
"null"
]
},
"pluginId": {
"type": "string"
},
"pluginName": {
"type": "string"
},
"respondedAt": {
"type": [
"number",
"null"
]
},
"status": {
"type": "string",
"enum": [
"pending",
"accepted",
"rejected",
"cancelled",
"expired"
]
},
"toName": {
"type": "string"
},
"toUserId": {
"type": "string"
}
}
}Fields§
§created_at: f64§direction: ListTransfersResponseTransfersItemDirection§expires_at: f64§from_name: String§from_user_id: String§id: String§message: Option<String>§plugin_id: String§plugin_name: String§responded_at: Option<f64>§status: ListTransfersResponseTransfersItemStatus§to_name: String§to_user_id: StringImplementations§
Trait Implementations§
Source§impl Clone for ListTransfersResponseTransfersItem
impl Clone for ListTransfersResponseTransfersItem
Source§fn clone(&self) -> ListTransfersResponseTransfersItem
fn clone(&self) -> ListTransfersResponseTransfersItem
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<'de> Deserialize<'de> for ListTransfersResponseTransfersItem
impl<'de> Deserialize<'de> for ListTransfersResponseTransfersItem
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<&ListTransfersResponseTransfersItem> for ListTransfersResponseTransfersItem
impl From<&ListTransfersResponseTransfersItem> for ListTransfersResponseTransfersItem
Source§fn from(value: &ListTransfersResponseTransfersItem) -> Self
fn from(value: &ListTransfersResponseTransfersItem) -> Self
Converts to this type from the input type.
Source§impl From<ListTransfersResponseTransfersItem> for ListTransfersResponseTransfersItem
impl From<ListTransfersResponseTransfersItem> for ListTransfersResponseTransfersItem
Source§fn from(value: ListTransfersResponseTransfersItem) -> Self
fn from(value: ListTransfersResponseTransfersItem) -> Self
Converts to this type from the input type.
Source§impl TryFrom<ListTransfersResponseTransfersItem> for ListTransfersResponseTransfersItem
impl TryFrom<ListTransfersResponseTransfersItem> for ListTransfersResponseTransfersItem
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
value: ListTransfersResponseTransfersItem,
) -> Result<Self, ConversionError>
fn try_from( value: ListTransfersResponseTransfersItem, ) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for ListTransfersResponseTransfersItem
impl RefUnwindSafe for ListTransfersResponseTransfersItem
impl Send for ListTransfersResponseTransfersItem
impl Sync for ListTransfersResponseTransfersItem
impl Unpin for ListTransfersResponseTransfersItem
impl UnsafeUnpin for ListTransfersResponseTransfersItem
impl UnwindSafe for ListTransfersResponseTransfersItem
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